Skip to content

Commit

Permalink
[hotfix] fix utils.markdown function chokes on None
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Mar 9, 2016
1 parent e53a1cc commit 370c5af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions panoramix/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ def json_iso_dttm_ser(obj):


def markdown(s):
s = s or ''
return md(s, [
'markdown.extensions.tables',
'markdown.extensions.fenced_code',
Expand Down

0 comments on commit 370c5af

Please sign in to comment.