fix: assignment renderer

This commit is contained in:
Jannat Patel
2023-08-31 23:32:46 +05:30
parent ffd9d56896
commit ce09f27373
2 changed files with 10 additions and 10 deletions

View File

@@ -313,6 +313,7 @@ def render_html(lesson):
if lesson.question:
assignment = "{{ Assignment('" + lesson.question + "-" + lesson.file_type + "') }}"
text = text + assignment
return markdown_to_html(text)