Opened 20 years ago
Closed 20 years ago
#929 closed defect (bug) (fixed)
html entities should not appear in rss2 title
Reported by: | anonymousbugger | Owned by: | ryan |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 1.5 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
If a html-entity appears in the title, the xml file is broken.
so an entity sould be decoded and encoded as utf8
echo utf8_encode(html_entity_decode($title));
instead of echo $title;
in wp-includes/feed-functions.php line 12
will fix this problem
Attachments (1)
Change History (9)
#3
@
20 years ago
utf8_encode -- Encodes an ISO-8859-1 string to UTF-8. A lot of people don't use ISO-8859.
#4
@
20 years ago
This is happening to my comments feed whenever I trackback my own site. Other trackbacks come in just fine, but my own trackbacks turn the comments feed into one big XML Parse error.
#5
@
20 years ago
See bug 1132 (duplicate?) for another possible fix: http://mosquito.wordpress.org/view.php?id=1132
Note: See
TracTickets for help on using
tickets.
seams only a workaround and will create new problems, while using special chars in title.