fix #5.
This commit is contained in:
parent
7b81a294bd
commit
2f76982c38
1 changed files with 4 additions and 0 deletions
|
|
@ -300,6 +300,10 @@ class Render(object):
|
|||
"""
|
||||
Convert a markdown text into a ODT formated text
|
||||
"""
|
||||
|
||||
if not isinstance(markdown_text, basestring):
|
||||
return ''
|
||||
|
||||
from xml.dom import Node
|
||||
from markdown_map import transform_map
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue