summaryrefslogtreecommitdiff
path: root/webtest/forms.py
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2013-02-21 13:27:46 +0100
committerDomen Kožar <domen@dev.si>2013-02-21 13:28:07 +0100
commitd94a7d434980ca04febcf00889e29f71f5c2736b (patch)
tree8bbd3e83ec27f4ff8c75bc265a92892bb0c68cc3 /webtest/forms.py
parent7305986c7044e55ff1ca957731cd7749cd442004 (diff)
downloadwebtest-d94a7d434980ca04febcf00889e29f71f5c2736b.tar.gz
simplify utils.py, add unittests (incomplete)
Diffstat (limited to 'webtest/forms.py')
-rw-r--r--webtest/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webtest/forms.py b/webtest/forms.py
index da931e1..8c11ee9 100644
--- a/webtest/forms.py
+++ b/webtest/forms.py
@@ -339,7 +339,7 @@ class Form(object):
if tag == 'textarea' and end:
assert in_textarea, (
"</textarea> with no <textarea> at %s" % match.start())
- in_textarea[0].value = utils.html_unquote(
+ in_textarea[0].value = utils.unescape_html(
self.text[in_textarea[1]:match.start()])
in_textarea = None
continue