[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
Sat Mar 7 07:50:18 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:  new              
 Priority:  normal        |   Milestone:  Unassigned       
Component:  TinyMCE       |     Version:  2.8              
 Severity:  normal        |    Keywords:  reporter-feedback
--------------------------+-------------------------------------------------
Changes (by Viper007Bond):

  * keywords:  html tags => reporter-feedback


Comment:

 Are you typing the fake tags into the HTML editor? If so, then the first
 part is to be expected as TinyMCE is stripping the bad HTML out (`<pre>`
 is not meant to escape HTML for you).

 The `&lt;` into `<` and then staying as such or whatever is a bug though.
 I've noticed the same thing with "`&`" being entered into the HTML editor
 and then it being converted to `&amp;` after switching to TinyMCE and then
 back to the HTML editor. I guess that's also to be expected though as
 that's proper HTML even though it was inside a shortcode.

 In short, ticket seems invalid.

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


More information about the wp-trac mailing list