28 Oct
2008
28 Oct
'08
9:17 a.m.
Hello, I realize that entering the following in a wiki document using syntax xwiki/2.0 : {{html}} <script type="text/javascript"> //<![CDATA[ alert("Hello, World") // ]]> </script> {{/html}} Results in html as : <!--startmacro:html|-||-| <script type="text/javascript"> //<![CDATA[ alert("Hello, World") // ]]> </script> --><!--stopmacro--> So the script tag is not rendered at all, thus the javascript not interpreted. Is this expected ? Is there a way to embed JS in a html block ? Regards, Jerome.