[wp-trac] Re: [WordPress Trac] #9993: Rss and atom feeds are dropping some characters

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 4 03:26:58 GMT 2009


#9993: Rss and atom feeds are dropping some characters
-----------------------+----------------------------------------------------
 Reporter:  pm24601    |        Type:  defect (bug)
   Status:  new        |    Priority:  normal      
Milestone:  2.9        |   Component:  Feeds       
  Version:  2.7.1      |    Severity:  normal      
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------

Comment(by peaceablewhale):

 Yes. However, WordPress will escape the HTML (via the "ent2ncr" function)
 and therefore they are no longer HTML.

 I think calling strip_tags is problmatic because an author can have a post
 title like "Use <h1> to <h6> for headings, <p> for paragraphy, but not
 formatting". strip_tags will remove the HTML unexpectedly.

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


More information about the wp-trac mailing list