You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Rsorrt (JIRA)" <ji...@apache.org> on 2012/12/04 19:54:58 UTC

[jira] [Created] (WW-3938) s:include problem with hrml comment

Rsorrt created WW-3938:
--------------------------

             Summary: s:include problem with hrml comment <!-- -->
                 Key: WW-3938
                 URL: https://issues.apache.org/jira/browse/WW-3938
             Project: Struts 2
          Issue Type: Bug
          Components: Other
    Affects Versions: 2.3.7
            Reporter: Rsorrt
            Priority: Critical


in my layout.jsp I have

<html>
<head>
<s:include value="../include/pippo.jsp" />
</head>

if, in pippo.jsp I have an HTML comment with include a character with accent è|ì|ò|à then result html code is missing the "-->" 

Example pippo.jsp
--------------------------
<!-- è -->
--------------------------


The resulting HTML is 
--------------------------
<!-- 
</head>
--------------------------

Is missing the "-->" part of the comment so all the rest is like included in a comment.

The previous version of struts2 was not doing it.




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira