Hi Asiri, On Feb 14, 2010, at 9:50 AM, Asiri Rathnayake wrote:
Hello XWiki Rendering Experts,
This is something used to work sometime ago but it seems things have changed.
I have the following rendering test case:
<code> .#---------------------------- ------------------------- .input|xwiki/2.0 .#----------------------------------------------------- {{velocity}} #set($url=$xwiki.zipexplorer.getFileLink($doc, 'presentation.zip', 'output.html'))
{{html}} <iframe src="$url" frameborder=0 width=800px height=600px></iframe> {{/html}}
{{/velocity}} .#----------------------------------------------------- .expect|xhtml/1.0 .#----------------------------------------------------- </code>
The problem is, this test case passes. Which means the velocity / html macros are rendered into nothing... I'm pretty certain this used to work sometime ago (I didn't change anything) but it seems to be broken now.
Can you help me fix this? Wysiwyg ppt imports are broken because of this.
AFAIK the iframe tag isn't supported in XHTML 1.1 strict. I don't think we've brought any change to the XHTML cleaner. Thanks -Vincent