[ 
https://issues.apache.org/jira/browse/TAPESTRY-2429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619621#action_12619621
 ] 

Andy Blower commented on TAPESTRY-2429:
---------------------------------------

I just ran into this in 5.0.13 as well. I was trying the following:

                renderSupport.addScript("for (int i=1; i <= %d; i++) { ", 
filterIdx);

and the for loop is never going to work with the output becoming: 

for (int i=1; i &lt;= 8; i++) {

For this reason I would say that this is more than minor.

> RenderSupport.addscript should have the option to render raw.
> -------------------------------------------------------------
>
>                 Key: TAPESTRY-2429
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2429
>             Project: Tapestry
>          Issue Type: Wish
>          Components: tapestry-core
>    Affects Versions: 5.0.12
>            Reporter: Shing Hing Man
>            Priority: Minor
>
> In a component, I am using
> RenderSupport.addScript(str),
> where
> String str =  "new tooltip(\"tooltipA\", \"<span
> id='tooltip1'>A tooltip over link<span>\", 10, 20,
> false,0)";
> But at the bottom of the rendered html,  < and > are escaped and rendered as 
> &lt; and &gt; respectively. 
> Maybe RenderSupport.addScript should have an option to render raw text.

-- 
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