Commit 9529d844 authored by Romain Courteaud's avatar Romain Courteaud

EditorField is now able to use the css and extra properties in read only mode (r45322)

git-svn-id: 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 38bbcd13
......@@ -176,7 +176,7 @@ class TestEditorField(ERP5TypeTestCase, ZopeTestCase.Functional):
html_text = to_utf8(html_text)
text_content = document.asStrippedHTML()
match_string1 = """<div class="input">%s</div>""" % text_content
match_string1 = """<div class="input"><div class="page" >\n%s</div></div>""" % text_content
match_string2 = """<div class="field page"""
if html_text.find(match_string1) == -1:
print html_text
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