RSS output is no longer valid XML

Created on 18 December 2023, about 1 year ago
Updated 23 July 2024, 5 months ago

Problem/Motivation

As of Drupal 10 the output of RSS feeds is no longer valid XML. The problem is that 10.2's HTML5 output is not valid XHTML because its IMG tags are not closed.

Proposed resolution

Wrap the DESCRIPTION tags with CDATA, e.g.

    <description><![CDATA[{{ description }}]]></description>

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

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

Comments & Activities

Production build 0.71.5 2024