Forgot testing it
This commit is contained in:
parent
f05be8dca2
commit
a7d96ea52f
|
@ -23,7 +23,7 @@ def article_to_xml(article_path: pathlib.Path):
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
return
|
return ""
|
||||||
|
|
||||||
markdown_instance = markdown.Markdown(extensions=['meta', 'nl2br'])
|
markdown_instance = markdown.Markdown(extensions=['meta', 'nl2br'])
|
||||||
html = markdown_instance.convert(markdown_data)
|
html = markdown_instance.convert(markdown_data)
|
||||||
|
|
Loading…
Reference in a new issue