[wp-trac] Re: [WordPress Trac] #9677: Quick edit of pages strips page code content

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 30 10:29:51 GMT 2009


#9677: Quick edit of pages strips page code content
----------------------------+-----------------------------------------------
 Reporter:  apeatling       |       Owner:  anonymous     
     Type:  defect (bug)    |      Status:  new           
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:  2.7.1         
 Severity:  normal          |    Keywords:  needs-patch   
----------------------------+-----------------------------------------------

Comment(by hakre):

 Well, tested that. For me (2.8 trunk) entering works as long as you do not
 switch to the visual tab. Looks like the javascript code is already
 removing it while switching fomr HTML -> Visual.

 my test page content (HTML):
 {{{
 Heya, I love that!

 <code>Testcode.</code>

 <code>Extended Testcode.</code>

 <code><?php echo('Test'); ?></code>
 }}}

 With Javascript switched of, the data keeps untained, here is the output
 within the default theme:
 {{{
 <p><code>Testcode.</code></p>
 <p><code>Extended Testcode.</code></p>
 <p><code><?php echo('Test'); ?></code></p>
 }}}

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


More information about the wp-trac mailing list