From f3ee383e52a6c878f0fdb7a6ea30efd7e5829ce7 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 21 2016 09:54:54 +0000 Subject: Drop the extra extension to drop the attr_lists one which we do *not* want --- diff --git a/pagure/lib/__init__.py b/pagure/lib/__init__.py index 26aa32d..1d1bd37 100644 --- a/pagure/lib/__init__.py +++ b/pagure/lib/__init__.py @@ -2892,7 +2892,13 @@ def text2markdown(text, extended=True): """ Simple text to html converter using the markdown library. """ extensions = [ - 'markdown.extensions.extra', + 'markdown.extensions.abbr', + 'markdown.extensions.def_list', + 'markdown.extensions.fenced_code', + 'markdown.extensions.footnotes', + 'markdown.extensions.tables', + 'markdown.extensions.smart_strong', + # All of the above are the .extra extensions - the attribute lists one 'markdown.extensions.admonition', 'markdown.extensions.codehilite', 'markdown.extensions.nl2br',