Hi Asiri,

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.

What happens if you use {{html clean=false}} or if you add the quotes 
around attribute values?

Hope this helps,
Marius

> 
> Can you help me fix this? Wysiwyg ppt imports are broken because of this.
> 
> Thanks.
> 
> - Asiri
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to