SickGear/lib/feedparser/tests/wellformed/sanitize/entry_content_script.xml

9 lines
366 B
XML
Raw Normal View History

<!--
Description: entry content contains script
Expect: not bozo and entries[0]['content'][0]['value'] == u'safe description'
-->
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<entry>
<content type="text/html" mode="escaped">safe&lt;script type="text/javascript">location.href='http:/'+'/example.com/';&lt;/script> description</content>
</entry>
</feed>