Fixed a problem with loosing the outermost html element when massaging html agendas.
- Legacy-Id: 13838
This commit is contained in:
parent
2937bb0789
commit
ccf6b516bc
|
@ -617,7 +617,7 @@ def session_document(request, num, acronym, type="agenda"):
|
|||
d("head title").empty()
|
||||
d("head title").append(str(doc))
|
||||
d('meta[http-equiv]').remove()
|
||||
content = "<!doctype html>" + d.html()
|
||||
content = "<!doctype html>" + str(d)
|
||||
else:
|
||||
content = "<p>Unrecognized %s file '%s'</p>" % (type, doc.external_url)
|
||||
content = (html5_preamble % doc) + content + html5_postamble
|
||||
|
|
Loading…
Reference in a new issue