[wp-trac] [WordPress Trac] #15685: Post/Page Titles with '<=' not displayed properly in RSS feed

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 15 01:18:20 UTC 2011


#15685: Post/Page Titles with '<=' not displayed properly in RSS feed
-------------------------------------------+----------------------
 Reporter:  SecGen                         |       Owner:
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:
Component:  Feeds                          |     Version:  3.0.2
 Severity:  normal                         |  Resolution:  invalid
 Keywords:  rss,atom,feed,post,page,title  |
-------------------------------------------+----------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Future Release =>


Comment:

 the_title() supports HTML in the titles, as such, if you want to use '<='
 in a title, You need to use `&lt;=` in order to result in correct HTML in
 the theme, let alone in the RSS feed.

 Most browsers realise it's not a HTML tag and can work around it, but RSS
 feeders are not that smart usually, and their XML parsers will choke on
 it.

 Unfortunately, I have to close this as invalid as it's the expected
 behaviour, even if it's a bit strange sometimes.

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


More information about the wp-trac mailing list