Commit fd59563f authored by Nicolas Delaby's avatar Nicolas Delaby

pass format parameter and use entities.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45089 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent df23b501
......@@ -1480,7 +1480,7 @@ class TestDocument(TestDocumentMixin):
# Continue the test with image resizing support
image_display = 'large'
# Add url parameters
html_content = '<p><img src="%s?display=%s&quality=75"/></p>' % \
html_content = '<p><img src="%s?format=jpeg&amp;display=%s&amp;quality=75"/></p>' % \
(image_reference, image_display)
web_page.edit(text_content=html_content)
mime_type, odt_archive = web_page.convert('odt')
......
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