[ 
http://jira.xwiki.org/jira/browse/XWIKI-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_20208
 ] 

Vincent Massol commented on XWIKI-1959:
---------------------------------------

The reason is that there's no mechanism in place to ensure each portion of text 
is only rendered once by each renderer. In the example at hand, the display() 
method runs all renderers and thus the Radeox renderer ends up executing twice 
on the code macro.

The workaround is to use {pre}$doc.display(...){/pre}.


> Code macros doesn't fully escape wiki syntax when used inside an Object 
> property
> --------------------------------------------------------------------------------
>
>                 Key: XWIKI-1959
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-1959
>             Project: XWiki Platform
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 1.2 RC1
>            Reporter: Vincent Massol
>
> For example, add the following in an object:
> {noformat}
> {code:none}
> 1 Title
> 1.1 Sub Title
> {code}
> {noformat}
> Then use $doc.display("property name") to display it and you'll see that the 
> sub title gets rendered when it shouldn't.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to