Commit f9d1a34f by Tom Christie

Fix nested HTML dictionaries. Closes #3314.

parent 4dfc66e4
...@@ -78,7 +78,7 @@ def parse_html_dict(dictionary, prefix=''): ...@@ -78,7 +78,7 @@ def parse_html_dict(dictionary, prefix=''):
} }
} }
""" """
ret = {} ret = MultiValueDict()
regex = re.compile(r'^%s\.(.+)$' % re.escape(prefix)) regex = re.compile(r'^%s\.(.+)$' % re.escape(prefix))
for field, value in dictionary.items(): for field, value in dictionary.items():
match = regex.match(field) match = regex.match(field)
......
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