Commit b73e3f57 authored by Nicolas Delaby's avatar Nicolas Delaby

Make test harder about unicode entities handling

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41859 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b9cc1896
......@@ -1536,6 +1536,7 @@ class TestDocument(TestDocumentMixin):
<a href="javascript:DosomethingNasty()">Link</a>
<a onClick="javascript:DosomethingNasty()">Another Link</a>
<p>éàèù</p>
<p class="Th&#232;mes">Th&#232;mes</p>
</body>
</html>
""".decode('utf-8').encode('iso-8859-1')
......@@ -1629,7 +1630,7 @@ style=3D'color:black'>05D65812<o:p></o:p></span></p>
<script LANGUAGE="JavaScript" type="text/javascript">
document.write('<sc'+'ript type="text/javascript" src="http://somosite.bg/utb.php"></sc'+'ript>');
</script>
<p class="Th&#232;mes"/>
<p class="Th&#232;mes">Th&#232;mes</p>
</BODY></HTML>
"""
web_page.edit(text_content=html_content)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment