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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 B3
    • Fix Version/s: 1.0 B6
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: