[ http://jira.codehaus.org/browse/MSITE-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108612 ]
Wendy Smoak commented on MSITE-257: ----------------------------------- Thanks Lukas. I should have mentioned that we also tried wrapping it in CDATA, but got the same output. :) No problem to wait for it to be fixed in Doxia. > Double quote character rendered as entity, which breaks JavaScript > ------------------------------------------------------------------ > > Key: MSITE-257 > URL: http://jira.codehaus.org/browse/MSITE-257 > Project: Maven 2.x Site Plugin > Issue Type: Bug > Affects Versions: 2.0-beta-5 > Environment: Maven 2.0.7, Maven Site Plugin 2.0-beta-5 > Reporter: Wendy Smoak > Priority: Trivial > Attachments: mysite.zip > > > When a simple script is included in xdoc source, the double characters get > rendered as the html entity " and the script does not execute. > For example, this in xdoc > alert("Hello!"); > produces this in the rendered html: > alert("Hello!"); > Sample project attached. Execute 'mvn site:run', visit > http://localhost:8080/index.html, and view the source of the page. > (Brian Fox discovered this while adding the Google search box to the Maven > site.) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira