Switch to side-by-side view
--- a/Allura/allura/lib/app_globals.py +++ b/Allura/allura/lib/app_globals.py @@ -45,7 +45,8 @@ def convert(self, source): try: return markdown.Markdown.convert(self, source) - except: + except Exception as e: + log.info('Invalid markdown: %s %s', e, source) escaped = h.really_unicode(source) escaped = cgi.escape(escaped) return h.html.literal(u"""<p><strong>ERROR!</strong> The markdown supplied could not be parsed correctly.