CDATA content should not be HTML encoded

Created on 9 February 2015, almost 10 years ago
Updated 14 November 2023, about 1 year ago

Problem: If you have a node title with "Star Trek & Star Wars" then the content in the XML export will be <title><![CDATA[Star Trek &amp; Star Wars]]></title>. That's because the Views field display will run check_plain() on the title. But for CDATA wrappings that is not necessary, so it should be just <title><![CDATA[Star Trek & Star Wars]]></title>.

Proposed solution: run html_entity_decode() on the CDATA content.

πŸ› Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria klausi πŸ‡¦πŸ‡Ή Vienna

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024