Make WordPress Core

Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#7747 closed enhancement (fixed)

Strip Microsoft Word's conditional comment tags so they don't show up in Internet Explorer

Reported by: nyoungman Owned by:
Priority: normal Milestone:
Component: TinyMCE Version: 2.6.1
Severity: normal Keywords: needs-patch
Cc: Focuses:

Description

If content is pasted from Word directly into TinyMCE (instead of using the toolbar button), a lot of ugly tags are included. Most noticeably, there are what look like conditional comments (supportEmptyParas, etc.) that appear in Internet Explorer 6+ (Firefox and Safari hide the comments).

Since they only appear in Internet Explorer, they can be hard to catch. Is there something we can do to strip these out automatically (or all html comments?), rather than assuming users will always use the Paste from Word button.

More discussion at:
http://wordpress.org/support/topic/203271

Change History (3)

#1 @FFEMTcJ
17 years ago

  • Keywords needs-patch added
  • Milestone 2.8Future Release

#2 @azaozz
17 years ago

  • Resolutionfixed
  • Status newclosed

This have been fixed upstream in TinyMCE.

#3 @Denis-de-Bernardy
17 years ago

  • Milestone Future Release
Note: See TracTickets for help on using tickets.