You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2014/01/26 00:06:37 UTC

[jira] [Created] (MYFACES-3850) html EL expression inside markup enables escape on static text in facelets jspx mode

Leonardo Uribe created MYFACES-3850:
---------------------------------------

             Summary: html EL expression inside markup enables escape on static text in facelets jspx mode
                 Key: MYFACES-3850
                 URL: https://issues.apache.org/jira/browse/MYFACES-3850
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314, JSR-344
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe
            Priority: Trivial


In JSPX mode I have tried to render something like this:

Check EL Escaping #{requestScope.rquote} : "

The result was this:

Check EL Escaping &quot; : &quot;

but it should be this:

Check EL Escaping &quot; : "

JSPX mode says that inline text should not be escaped, but the presence of the EL expression forces the whole chunk to be escaped. In other modes, text escape is always enabled, so the only way you can see the problem is migrating views from old jsp to facelets. Really it is difficult to reproduce but anyway it could be good to check the code and try to fix it.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)