Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-455

Character "#" is added to the section heading (before the hashlink) after multiple editing using FCKEditor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 2.8.1
    • Fix Version/s: None
    • Component/s: Editors
    • Labels:
      None
    • Environment:

      Windows

      Description

      Character "#" is added to the section heading (before the hashlink) after multiple editing using FCKEditor

      To re-create this bug, please follow the steps below:
      1. Create a new page using FCKEditor.
      2. Insert the following heading into the page
      !!!Heading2

      3. Save the page.
      4. The page is displayed as the following html:

      <h2 id="section-Create+dashboard-Heading2">Heading2<a class="hashlink" href="#section-Create+dashboard-Heading2">#</a></h2>

      5. Edit the page again. The following html is shown in FCKEditor:

      <h2 id="section-Create+dashboard-Heading2">Heading2<a href="#section-Create+dashboard-Heading2" class="hashlink">#</a></h2>

      6. Save the page.
      7. There is now a "#" character appended after the word "Heading2". The hashlink is then appended after these words.
      <h2 id="section-Create+dashboard-Heading2"> Heading2#<a class="hashlink" href="#section-Create+dashboard-Heading2">#</a></h2>

      8. After multiple edit and save, your page will become:
      <h2 id="section-Create+dashboard-Heading2"> Heading2############<a class="hashlink" href="#section-Create+dashboard-Heading2">#</a></h2>

      Unless removing the extra "#" character manually in every page edit, the extra "#" character will be added after each "Save" in FCKEditor.

      – Reported by Kevin Yuen (knyuen at gmail.com)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              knyuen Kevin Yuen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: