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 52672530b7
2 changed files with 3 additions and 3 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):
+2 -2
View File
@@ -4,7 +4,8 @@
# License: MIT (http://www.opensource.org/licenses/mit-license.php)
from __future__ import generators
from __future__ import print_function
cd Py
r"""A fast and complete Python implementation of Markdown.
[from http://daringfireball.net/projects/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.