diff --git a/cookbook/templatetags/custom_tags.py b/cookbook/templatetags/custom_tags.py index 5e8b30cd8..e4b3764eb 100644 --- a/cookbook/templatetags/custom_tags.py +++ b/cookbook/templatetags/custom_tags.py @@ -29,4 +29,4 @@ def delete_url(model, pk): def markdown(value): tags = markdown_tags + ['pre', 'table', 'td', 'tr', 'th', 'tbody', 'style', 'thead'] parsed_md = md.markdown(value, extensions=['markdown.extensions.fenced_code', 'tables', MarkdownFormatExtension()]) - return bleach.clean(parsed_md, tags, print_attrs, markdown_attrs) + return bleach.clean(parsed_md, tags, markdown_attrs)