[wp-trac] Re: [WordPress Trac] #7655: Code view should reflect output

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 31 12:25:39 GMT 2008


#7655: Code view should reflect output
-------------------------+--------------------------------------------------
 Reporter:  mrmist       |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.7      
Component:  General      |      Version:  2.6.1    
 Severity:  normal       |   Resolution:           
 Keywords:  needs-patch  |  
-------------------------+--------------------------------------------------
Changes (by caesarsgrunt):

  * keywords:  => needs-patch
  * milestone:  2.8 => 2.7

Comment:

 +1, definitely. I find the current behaviour very irritating.

 But actually the code that gets published ''should'' be
 {{{
 <p>Here&#8217;s a paragraph.</p>
 <p>And another&#8230;</p>
 }}}
 (i.e. Without the empty pair of `p` tags between the two 'real' `p`s. The
 blank line is interpreted as the end of one paragraph and the start of the
 next, whilst a single line break would just insert a `br` tag.)[[BR]]
 I don't know which ''is'' currently generated, but that's what it
 ''should'' be.

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


More information about the wp-trac mailing list