[wp-trac] [WordPress Trac] #5410: code correction shouldn't apply to anything within a <pre/> block

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 18 13:51:46 UTC 2009


#5410: code correction shouldn't apply to anything within a <pre/> block
------------------------------+---------------------------------------------
  Reporter:  robertaccettura  |        Type:  defect (bug)
    Status:  closed           |    Priority:  normal      
 Milestone:                   |   Component:  Formatting  
   Version:  2.5              |    Severity:  normal      
Resolution:  worksforme       |    Keywords:              
------------------------------+---------------------------------------------
Changes (by sivel):

  * keywords:  pre html xhtml parser needs-patch wpautop =>
  * status:  new => closed
  * resolution:  => worksforme
  * severity:  major => normal
  * milestone:  2.9 =>


Comment:

 I cannot duplicate this issue in trunk with either fix invalidly nested
 xhtml on or off.

 However the author of this ticket should take note that the browser will
 try to interpret < and > as the beginning and end of html tags and thus
 should be converted to their entities before publishing.  If you do not
 want to do this manually look into a syntax highlighter as recommended by
 Viper007Bond.

 Closing as worksforme.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/5410#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list