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.
 
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to