Commit c86e02a8 authored by Robert's avatar Robert

Fix #563: RSS export

parent 85ea5141
Pipeline #1291 passed with stage
in 2 minutes and 21 seconds
......@@ -177,9 +177,9 @@ def bleach(text, disable_tags=tuple(), except_for=tuple()):
def markdown(
text, heading_baselevel=1, filter_tags=True, truncate=False, disable_tags="",
plain_preview=False, preset=None):
plain_preview=False, preset=None, plain=False):
def wrap(result):
if plain_preview:
if plain or plain_preview:
return result
script = """
{% markdown obj.container.versions.last.text preset='linkonly' %}
{% markdown obj.container.versions.last.text plain=True %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment