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

WordPress Trac noreply at wordpress.org
Wed Jul 6 10:53:48 UTC 2016


#9993: Rss and atom feeds are dropping some characters
--------------------------------------+--------------------------
 Reporter:  pm24601                   |       Owner:  stevenkword
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.6
Component:  Feeds                     |     Version:  2.7.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------

Comment (by ocean90):

 The `strip_tags()` call exists since b2, see
 https://github.com/ericandrewlewis/b2/blame/e0de2a065d3e1d139fbb635e505e7fed5271954e/b2-include/b2template.functions.php#L269.
 I think one of the reasons might be that titles can include HTML like
 `<br>` or `<strong>` for visual purposes and not as a part of the title.
 These shouldn't be displayed in a feed reader.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/9993#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list