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

                 Key: TAPESTRY-1326
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1326
             Project: Tapestry
          Issue Type: Bug
          Components: Framework
    Affects Versions: 4.1.2
            Reporter: Norbert Sándor


' 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:&amp;&lt;&gt;&apos;&quot;</binding>
    <binding name="raw">false</binding>
</component>

<component id="insertRaw" type="Insert">
    <binding name="value">literal:&amp;&lt;&gt;&apos;&quot;</binding>
    <binding name="raw">true</binding>
</component>

The output is

&amp;&lt;&gt;'"<br/>
&<>'"

although I would have expected

&amp;&lt;&gt;&apos;&quot;<br/>
&<>'"

What do you think?
Regards:
Norbi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to