Issue Details (XML | Word | Printable)

Key: MPXDOC-133
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Lukas Theussl
Reporter: Lukas Theussl
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x XDoc Plugin

Ampersand in section/subsection not correct

Created: 05/Mar/05 05:56 PM   Updated: 07/Sep/05 08:23 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.10

Time Tracking:
Original Estimate: 5 minutes
Original Estimate - 5 minutes
Remaining Estimate: 5 minutes
Remaining Estimate - 5 minutes
Time Spent: Not Specified
Remaining Estimate - 5 minutes

Environment: any
Issue Links:
Related
 


 Description  « Hide
The xdoc

<section name="Tips & & " Tricks">

produces the following html:

<h2>Tips &amp; &amp; " Tricks</h2>

which is rendered as

Tips & & " Tricks

I worked around this by replacing the line

<a name="${_anchorName}"/><h2>${_sectionName}</h2>

in the section template of site.jsl by

<a name="${_anchorName}"/><h2><x:expr select="@name"/></h2>

(and the equivalent for subsection). This is probably related to MPXDOC-47 and MPXDOC-92, the effect seems to be the same and the solution might be similar.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Lukas Theussl added a comment - 07/Sep/05 08:23 AM
Fixed by patch for MPXDOC-47