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

Anchors for headings wrapped in {color} macros are not correct, breaks Table of Contents {toc} macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • 4.3
    • 2.5.1
    • None

    Description

      The toc macro cannot generate proper anchored links to headers that use macros. The links will include the page, but no reference to the target header. I also wonder if it's not related in some way to the multi-byte toc bug.

      https://wiki.csuchico.edu/confluence/x/pABi shows how the following markup renders.

       
      {toc} 
      
      h1. Foo 
      
      h2. Baz & Zab 
      
      h3. {color:red}BING!{color} 
      h3. BANG! 
      
      h1. Bar 
      
      h2. Bears
      

      Attachments

        Issue Links

          Activity

            People

              matt@atlassian.com Matt Ryall
              d9634f2a3b76 Patrick Berry
              Votes:
              9 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: