Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If the text processed for the <source>
tag contains &
, it is not getting properly converted to &
, and it therefore fails validation. The solution I found was to add a check_plain() to views_rss_core_preprocess_item_source(), per the attached patch.
A similar patch is needed in the D7 version.
Comment | File | Size | Author |
---|---|---|---|
views_rss_core_source.patch | 584 bytes | Gribnif | |
Comments
Comment #1
keva CreditAttribution: keva commentedthanks - this did the trick!
Comment #3
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedCommitted and pushed to 6.x-2.x.
Also, this is not needed for 7.x branch, as there all elements are passed through
format_xml_elements()
, where this is done automatically.