Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3850

html EL expression inside markup enables escape on static text in facelets jspx mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.1.15, 2.2.1
    • JSR-314, JSR-344
    • None

    Description

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

      Check EL Escaping #

      {requestScope.rquote}

      : "

      The result was this:

      Check EL Escaping " : "

      but it should be this:

      Check EL Escaping " : "

      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.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: