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