Maven 1.x XDoc Plugin

Ampersand in section/subsection not correct

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.10
  • Component/s: None
  • Labels:
    None
  • Environment:
    any
  • Number of attachments :
    0

Description

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.

Issue Links

Activity

Hide
Lukas Theussl added a comment -

Fixed by patch for MPXDOC-47

Show
Lukas Theussl added a comment - Fixed by patch for MPXDOC-47

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
5m
Original Estimate - 5 minutes
Remaining:
5m
Remaining Estimate - 5 minutes
Logged:
Not Specified
Time Spent - Not Specified