#2272: FF3: Paste from word leaves lots of garbage tags
---------------------------+------------------------------------------------
  Reporter:  joshclark     |       Owner:                    
      Type:  Bug           |      Status:  new               
  Priority:  Normal        |   Milestone:  FCKeditor 2.6.3   
 Component:  UI : Dialogs  |     Version:  FCKeditor 2.6.2   
Resolution:                |    Keywords:  Confirmed Firefox3
---------------------------+------------------------------------------------
Changes (by fredck):

  * milestone:  => FCKeditor 2.6.3

Comment:

 #2291 has been marked as DUP. The following regex has been also proposed
 there:

 {{{
 html = html.replace( /<w:[^>]*>[\s\S]*?<\/w:[^>]*>/gi, '' ) ;
 }}}

 Also, many of the proposed suggestions are defining capturing groups, like
 {{{([\s\S]*?)}}}, which impact on performance. They can be avoided in many
 cases, and if the grouping is needed but not really to be captured the
 (?:) syntax is to be used.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2272#comment:2>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to