force body to be a string (not <htmltext>)

This commit is contained in:
Frédéric Péters 2018-07-05 16:59:14 +02:00
parent 29a82c1d19
commit 48fefff672
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ def render_response(publisher, body):
if isinstance(body, template.QommonTemplateResponse):
body = template.render(body.templates, body.context)
body = str(body)
root_url = publisher.get_root_url()
wcs_path = publisher.get_request().get_path()[len(root_url):]