Skip to content

RSS Block doesn't remove HTML Entities from a feed's titles #70477

@andreawetzel

Description

@andreawetzel

What problem does this address?

Our site users often RSS Feeds to display information from PubMed. Sometimes article titles will include HTML Entities that will display in the RSS Block.

For example, at the time of writing, one of the titles in this feed is

<title>Oral administration of &lt;em&gt;Lactiplantibacillus plantarum&lt;/em&gt; GKK1 ameliorates atopic dermatitis in a mouse model</title>

These HTML Entities look like <em> tags when the block appears on the page (see screenshot below)

Image

What is your proposed solution?

A potential solution would be to remove these HTML Entities from the RSS block titles with html_entity_decode()

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] RSSAffects the RSS Block - used to display entries from an RSS/Atom feed[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions