Skip to content

Commit ccf6b51

Browse files
committed
Fixed a problem with loosing the outermost html element when massaging html agendas.
- Legacy-Id: 13838
1 parent 2937bb0 commit ccf6b51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/meeting/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ def session_document(request, num, acronym, type="agenda"):
617617
d("head title").empty()
618618
d("head title").append(str(doc))
619619
d('meta[http-equiv]').remove()
620-
content = "<!doctype html>" + d.html()
620+
content = "<!doctype html>" + str(d)
621621
else:
622622
content = "<p>Unrecognized %s file '%s'</p>" % (type, doc.external_url)
623623
content = (html5_preamble % doc) + content + html5_postamble

0 commit comments

Comments
 (0)