FeedWriter\Feed::sanitizeCDATA
Sanitizes data which will be later on returned as CDATA in the feed.
A "]]>" respectively "<![CDATA" in the data would break the CDATA in the XML, so the brackets are converted to a HTML entity.
Signature
private function sanitizeCDATA(
$text )
Parameters
$text
—
Returns
- string
- Sanitized data