From d246879069f161e011c0e9dc18c8116af65effd0 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Fri, 27 Oct 2023 17:29:09 -0700 Subject: [PATCH] Fix code review comments --- ietf/meeting/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ietf/meeting/views.py b/ietf/meeting/views.py index fe12e3faab..3e7b89d585 100644 --- a/ietf/meeting/views.py +++ b/ietf/meeting/views.py @@ -283,8 +283,7 @@ def materials_document(request, document, num=None, ext=None): content_type = content_type.replace("plain", "markdown", 1) break elif atype[0] == "text/html": - bytes = render( - request, + bytes = render_to_string( "minimal.html", { "content": markdown.markdown(bytes.decode(encoding=chset)),