Ticket #5393 (closed Bug: invalid)

Opened 4 years ago

Last modified 3 years ago

Bold/Italics/Underline ruins the page

Reported by: cneubauer 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

comment:1 Changed 3 years ago by j.swiderski

  • Status changed from new to closed
  • Resolution set to invalid

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy