[wp-trac] [WordPress Trac] #7747: Strip Microsoft Word's conditional comment tags so they don't show up in Internet Explorer

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 15 16:47:11 GMT 2008


#7747: Strip Microsoft Word's conditional comment tags so they don't show up in
Internet Explorer
-------------------------+--------------------------------------------------
 Reporter:  nyoungman    |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.8      
Component:  TinyMCE      |     Version:  2.6.1    
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 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

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7747>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list