[wp-trac] Re: [WordPress Trac] #7511: Code tags get messed up

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 13 17:18:27 GMT 2008


#7511: Code tags get messed up
---------------------+------------------------------------------------------
 Reporter:  da3rX    |        Owner:  anonymous
     Type:  defect   |       Status:  closed   
 Priority:  normal   |    Milestone:           
Component:  TinyMCE  |      Version:  2.6      
 Severity:  normal   |   Resolution:  invalid  
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by azaozz):

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

Comment:

 <code> is an "inline" tag, like <strong> and <em>. More details:
 Phrase elements: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ABBR, and
 ACRONYM
 [http://www.w3.org/TR/html401/struct/text.html#h-9.2.1]

 According to the W3C specification blank spaces and line breaks are
 ignored in it. The only tag that preserves them is the <pre> tag and that
 is working well in both editors and autop.

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


More information about the wp-trac mailing list