Fixes #9775: Fix exception when viewing a report with no descripton

This commit is contained in:
jeremystretch
2022-07-19 12:53:57 -04:00
parent 124ff23e3d
commit a7a20ad2ea
2 changed files with 4 additions and 0 deletions

View File

@@ -144,6 +144,8 @@ def render_markdown(value):
{{ md_source_text|markdown }}
"""
if not value:
return ''
# Render Markdown
html = markdown(value, extensions=['def_list', 'fenced_code', 'tables', StrikethroughExtension()])