Maven 1.x XDoc Plugin
  1. Maven 1.x XDoc Plugin
  2. MPXDOC-133

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
    • 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

            • Assignee:
              Lukas Theussl
              Reporter:
              Lukas Theussl
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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