Opened 15 years ago
Closed 13 years ago
#5393 closed Bug (invalid)
Bold/Italics/Underline ruins the page
Reported by: | Christian | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Project : MediaWiki+FCKeditor | Version: | |
Keywords: | Cc: |
Description
- Edit a page
- Highlight a word in FCKeditor.
- Click Bold, Italics, Underline in sequence.
- Save.
The rest of the page after the highlighted word will now be underlined. The wikitext of the page will now look like this:
<u>'''''Word'''''</u
You can also just click over to wikitext and then back instead of saving to see the effect.
The last > is stripped off by FCKeditor. Doing different combinations of these buttons or using strikethrough instead of underline produces different varieties of this bug. The problem seems to be that clicking bold, italics, then underline produces markup that looks like this: <u><em><strong>Word</strong></em></u><em></em>
in FCKeditor. Converting to wikitext then causes the JavaScript that does the conversion to screw things up. It sees the empty <em> at the end and deletes the final > from the </u> tag.
Since FCKeditor is no longer supported and was replaced with CKEditor, active development of the MediaWiki extension and support for it are also finished.
I’m closing this ticket as it is no longer valid.