[wp-trac] Re: [WordPress Trac] #5796: Viewing a post in HTML editing mode results in enetity encoded html being non-encoded

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 8 04:39:21 GMT 2008


#5796: Viewing a post in HTML editing mode results in enetity encoded html being
non-encoded
-------------------------------------+--------------------------------------
 Reporter:  DD32                     |        Owner:  anonymous
     Type:  defect                   |       Status:  new      
 Priority:  normal                   |    Milestone:  2.6      
Component:  TinyMCE                  |      Version:  2.5      
 Severity:  normal                   |   Resolution:           
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Changes (by DD32):

  * keywords:  needs-patch => has-patch needs-testing

Comment:

 Not sure if {{{htmlspecialchars()}}} or {{{htmlentities()}}} should be
 used.

 ''This function[htmlentities()] is identical to htmlspecialchars() in all
 ways, except with htmlentities(), all characters which have HTML character
 entity equivalents are translated into these entities.'' -
 http://au2.php.net/manual/en/function.htmlentities.php

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


More information about the wp-trac mailing list