Is this wrong?

The test case is:
create a document, put this in it:
{{html}}
<i>italics</i>
{{/html}}

create another document, put in it:
{{velocity}}
#includeInContext("Test.FirstDocument")
{{/velocity}}

view and observe result:
<p><em>italics</em></p>
html is escaped.

I think the problem (if this is considered a problem) is that #includeInContext
(or #includeForm) returns a String so the content is parsed twice.


Caleb James DeLisle

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

Reply via email to