Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291486

format_xml_elements() does not allow unencoded values

$
0
0

Problem/Motivation

The optional <content:encoded> element defines the full content of an <item>. Its value should be either entity-encoded or CDATA-escaped version of the content of the item.

Current format_xml_elements() implementation though does not allow for CDATA-escaped values (or unencoded in general) - they always get entity-encoded.

Resources:

Proposed resolution

Modify format_xml_elements() implementation to allow unencoded values if requested directly (by adding new encoded property to XML element). Keep current behaviour if property is not set to ensure full backwards compatibility.

Remaining tasks

None.

User interface changes

None.

API changes

None.


Viewing all articles
Browse latest Browse all 291486

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>