Fix proposed to crash in linux on import markdown module

This commit is contained in:
mavignau@gmail.com
2018-06-19 21:13:53 -03:00
parent d7624b95f8
commit e6b7388758
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
from markdown2 import *
from .markdown2 import *
from gluon.html import XML
def WIKI(text, encoding="utf8", safe_mode='escape', html4tags=False, **attributes):
+1 -1
View File
@@ -4,6 +4,7 @@
# License: MIT (http://www.opensource.org/licenses/mit-license.php)
from __future__ import generators
from __future__ import print_function
r"""A fast and complete Python implementation of Markdown.
@@ -35,7 +36,6 @@ This implementation of Markdown implements the full "core" syntax plus a
number of extras (e.g., code syntax coloring, footnotes) as described on
<https://github.com/trentm/python-markdown2/wiki/Extras>.
"""
from __future__ import print_function
cmdln_desc = """A fast and complete Python implementation of Markdown, a
text-to-HTML conversion tool for web writers.