[wp-trac] Re: [WordPress Trac] #9262: Incorrect behaviour with using the PRE tag when switching between Visual and HTML editor

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 8 07:37:58 GMT 2009


#9262: Incorrect behaviour with using the PRE tag when switching between Visual
and HTML editor
-------------------------------+--------------------------------------------
 Reporter:  shamess            |        Owner:  azaozz    
     Type:  defect (bug)       |       Status:  closed    
 Priority:  normal             |    Milestone:  Unassigned
Component:  TinyMCE            |      Version:  2.8       
 Severity:  normal             |   Resolution:  invalid   
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------
Changes (by azaozz):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Viper007Bond is right. Also <code> is an inline tag that has no special
 meaning in HTML. According to W3C the browsers "may choose" to display it
 with fixed width font, nothing else.

 The <pre> tag has special meaning. It displays line breaks as they appear
 in the source. It can include most inline elements
 (http://www.w3.org/TR/html401/sgml/dtd.html#pre.exclusion). It doesn't
 escape and cannot contain bad/invalid HTML tags.

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


More information about the wp-trac mailing list