Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-2924

Handling of '-' in anchor macro and links

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 1.4
    • 1.3.2, 1.4
    • None
    • RHEL+standalone+JIRA auth

      On a page called "My page", the macro

      creates the HTML

      <a name="Mypage-foobar"></a>

      But the link

      My page#foo-bar

      generates a link to

      http://servername/confluence/display/MYSPACE/My+page#Mypage-foo-bar

      which is invalid because of the extra '-'.

      Casual testing suggests that this can be replicated with other non-alphanumeric characters. Some of these characters may be legal for anchor names.

              Unassigned Unassigned
              3bd36a23b875 Matthew Wise
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: