[wp-trac] [WordPress Trac] #50540: Export strips HTML tags from Post Titles
WordPress Trac
noreply at wordpress.org
Thu Jul 2 19:21:52 UTC 2020
#50540: Export strips HTML tags from Post Titles
--------------------------+-----------------------------
Reporter: MadtownLems | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Export | Version: 5.4.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
As far as I can tell, html tags are permissible in Post Titles. For
example, we use post title such as "Sea thrift, <em>Armeria maritima</em>"
to properly designate the scientific name of the plant.
When performing a standard Export, these tags are stripped and not present
in the export file.
It looks like do_export uses the 'the_title_rss' filter, which strips all
tags. If html tags (or a subset of them) are permissible in Post Titles,
then I believe these shouldn't be stripped out when doing an export.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50540>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list