Opened 14 years ago

Closed 12 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

  1. Edit a page
  2. Highlight a word in FCKeditor.
  3. Click Bold, Italics, Underline in sequence.
  4. 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.

Change History (1)

comment:1 Changed 12 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy