Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-792

Different id-s for the rendered heading and the toc entry

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0 B6
    • 1.0 B3
    • {Unused} Core
    • None

    Description

      Usecase:

      #toc("" "" "")
      ...
      1.1 $doc.realLanguage
      

      results in:

      ...
      <li><a href="#H24docrealLanguage"> $doc.realLanguage</a> 
      ...
      <h3 class="heading-1-1"><span id="Hen">en</span></h3>
      

      The heading id is parsed, while the toc target id is not.

      Attachments

        Activity

          People

            marta Marta Girdea
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: