1. Fred T-H
  2. blogerl
  3. Issues
Issue #2 resolved

Escape RSS Titles

Fred T-H
repo owner created an issue

RSS Titles have incorrect escaping, or need a better one.

Having a title as "A & B" in the index will result in invalid XML for the RSS due to & not being escaped as &.

Comments (1)

  1. Fred T-H reporter

    Fixed, but this is done directly by adding an |escape filter to the title field in the RSS template. I'm uncertain what support there is for CDATA fields in RSS titles or if it's worth it -- escaping can be done safely there compared to the HTML of the content area.

    Call this a minimal effort solution.

  2. Log in to comment