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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.5
    • Component/s: Framework
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: