uilib.py
changeset 10012 8c2c6fdd8d56
parent 9921 8227358aa983
child 10332 da1cb2b12fe1
--- a/uilib.py	Thu Oct 23 14:57:02 2014 +0200
+++ b/uilib.py	Wed Apr 30 21:04:14 2014 +0200
@@ -163,6 +163,8 @@
 
 # text publishing #############################################################
 
+from cubicweb.ext.markdown import markdown_publish # pylint: disable=W0611
+
 try:
     from cubicweb.ext.rest import rest_publish # pylint: disable=W0611
 except ImportError:
@@ -170,6 +172,7 @@
         """default behaviour if docutils was not found"""
         return xml_escape(data)
 
+
 TAG_PROG = re.compile(r'</?.*?>', re.U)
 def remove_html_tags(text):
     """Removes HTML tags from text