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

9 lines
354 B
XML
Raw Normal View History

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