[wp-trac] Re: [WordPress Trac] #3312: Capital Z in HTML editor triggers new line

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 1 20:48:11 GMT 2006


#3312: Capital Z in HTML editor triggers new line
----------------------------+-----------------------------------------------
 Reporter:  foolswisdom     |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.1      
Component:  Administration  |      Version:  2.1      
 Severity:  normal          |   Resolution:           
 Keywords:  needs-patch     |  
----------------------------+-----------------------------------------------
Changes (by Nazgul):

  * keywords:  => needs-patch

Comment:

 The following line is the culprit (578 of wp-
 includes/js/tinymce/plugins/wordpress/editor_plugin.js):
 {{{
 pee = pee.replace(new RegExp('\n*([^\Z]+?)\\n{2}', 'mg'), "<p>$1</p>\n");
 }}}

 I don't know how to fix it, because I don't have a clue what that line is
 supposed to do.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3312#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list