Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-168

Use underscores instead of spaces in anchor names

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta-5
    • Fix Version/s: 2.0-beta-6
    • Component/s: None
    • Labels:
      None

      Description

      Version 2.0-beta-5 generates named anchors based on the section/subsection names.

      It currently uses the text as-is, leading to anchors like <a name="Logo Contest"> which must be linked to with #Logo%20Contest.

      Maven 1 used to replace spaces with underscores, producing much nicer anchor names: <a name="Logo_Contest">, and #Logo_Contest.

      In addition, see MSITE-167, requesting the addition of an href attribute so that the anchor name can be specified in the xdoc:
      <subsection name="Logo Contest" href="logo"> ----> <a name="logo"> ---> #logo

        Attachments

          Activity

            People

            • Assignee:
              siveton Siveton Vincent
              Reporter:
              wsmoak Wendy Smoak
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: