Using a single quote on a heading causes the link in the TOC to not work

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 5.2.4, 5.2.5
    • Affects Version/s: 5.1.4
    • Component/s: None
    • Environment:

      Using Firefox ESR 17.0.7 and Opera 12.16, with the same results.

      STEPS TO REPRO

      • create a page
      • insert the TOC in the page
      • paste some long text and within it create a couple of headings (for instance: heading 2 or heading 3)
      • in the text of the heading, put some text which contains a single quote, for instance:

      some text bla bla
      (Heading 2) Casi d'uso
      some other text bla bla
      (Heading 3) Limiti dell'ambito
      some more text bla bla

      • save the page, look at the TOC and try to click to one of the headings with the single quote character to jump to the corresponding paragraph

      EXPECTED BEHAVIOUR
      The page jumps to the correct paragraph, just like when clicking on an heading with no single quote in it.

      ACTUAL BEHAVIOUR
      Clicking on the heading in the TOC does nothing.

            Assignee:
            Unassigned
            Reporter:
            Mauro Molinari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: