[wp-trac] [WordPress Trac] #5073: Editor behaves strange when trying to type a html comment.

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 25 11:47:42 GMT 2007


#5073: Editor behaves strange when trying to type a html comment.
---------------------+------------------------------------------------------
 Reporter:  znuff    |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.3.1    
Component:  General  |     Version:  2.3      
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 Sorry for the poor naming, but I couldn't figure out a smarter name.
 Anyway, try posting the following:

 <code>&lt;!-- <em>Some Text</em> --&gt;</code>

 The result should be:

 <code><!-- <em>Some Text</em> --></code>, but instead, wordpress spits
 out:

 <code><!-- <em>Some Text</em> -></code>. Notice the missing dash.

 Tried on Wordpress 2.3, several installs, didn't try it on previous
 versions.

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


More information about the wp-trac mailing list