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

                 Key: JSPWIKI-455
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-455
             Project: JSPWiki
          Issue Type: Bug
          Components: Editors
    Affects Versions: 2.8.1
         Environment: Windows
            Reporter: Kevin Yuen
            Priority: Critical


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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to