Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1326

' and " should be encoded as entity if output mode is not raw

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 4.1.2
    • 4.1.5
    • Framework
    • None

    Description

      ' and " should be encoded as ' and &qout; if output type is not raw.

      For example:

      <span jwcid="insert" /><br/>
      <span jwcid="insertRaw" />

      <component id="insert" type="Insert">
      <binding name="value">literal:&<>'"</binding>
      <binding name="raw">false</binding>
      </component>

      <component id="insertRaw" type="Insert">
      <binding name="value">literal:&<>'"</binding>
      <binding name="raw">true</binding>
      </component>

      The output is

      &<>'"<br/>
      &<>'"

      although I would have expected

      &<>'"<br/>
      &<>'"

      What do you think?
      Regards:
      Norbi

      Attachments

        Activity

          People

            Unassigned Unassigned
            snorbi Norbert Sándor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: