- last update
about 1 year ago 22 pass - πΊπ¦Ukraine tibezh
I think the patch should support PHP 8.1. The $content can be NULL and we can get a PHP deprecation error.
Problem: If you have a node title with "Star Trek & Star Wars" then the content in the XML export will be <title><![CDATA[Star Trek & Star Wars]]></title>
. That's because the Views field display will run check_plain() on the title. But for CDATA wrappings that is not necessary, so it should be just <title><![CDATA[Star Trek & Star Wars]]></title>
.
Proposed solution: run html_entity_decode() on the CDATA content.
Needs review
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I think the patch should support PHP 8.1. The $content can be NULL and we can get a PHP deprecation error.