File: item_content_encoded_script_nested_cdata.xml

package info (click to toggle)
feedparser 6.0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,540 kB
  • sloc: xml: 11,459; python: 4,575; makefile: 7
file content (11 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
<!--
Description: ensure nested CDATA sections are sanitized properly
Expect: not bozo and entries[0]['content'][0]['value'] == '&lt;![CDATA[]]&gt;'
-->
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
<channel>
  <item>
    <content:encoded><![CDATA[<![CDATA[<script></script>]]&gt;]]></content:encoded>
  </item>
</channel>
</rss>