[wp-trac] Re: [WordPress Trac] #6449: Tiny MCE cuts html textarea form tag

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 12 10:17:00 GMT 2008


#6449: Tiny MCE cuts html textarea form tag
-----------------------+----------------------------------------------------
 Reporter:  PozHonks   |        Owner:  anonymous
     Type:  defect     |       Status:  reopened 
 Priority:  normal     |    Milestone:  2.6      
Component:  TinyMCE    |      Version:  2.5      
 Severity:  normal     |   Resolution:           
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Changes (by azaozz):

  * keywords:  TinyMCE html form textarea => has-patch
  * status:  closed => reopened
  * resolution:  invalid =>
  * milestone:  => 2.6

Comment:

 Traced this to wp_richedit_pre() not encoding < and > to html entities. So
 when TinyMCE loads the content of the textarea, it stops at the first
 </textarea> tag.

 However wp_htmledit_pre() encodes < and >, that's the reason it works
 properly when the HTML editor is loaded first.

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


More information about the wp-trac mailing list