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

Use underscores instead of spaces in anchor names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-5
    • 2.0-beta-6
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: