[damned-lies] Refs #111 - Use markdown extensions as kwarg
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Refs #111 - Use markdown extensions as kwarg
- Date: Sat, 3 Nov 2018 20:15:06 +0000 (UTC)
commit 72311971b7cb128fd00c1a097ce47958fd9c2fd4
Author: Claude Paroz <claude 2xlibre net>
Date: Sat Nov 3 21:14:05 2018 +0100
Refs #111 - Use markdown extensions as kwarg
stats/templatetags/stats_extras.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/stats/templatetags/stats_extras.py b/stats/templatetags/stats_extras.py
index 169b2cbd..66e63757 100644
--- a/stats/templatetags/stats_extras.py
+++ b/stats/templatetags/stats_extras.py
@@ -272,4 +272,4 @@ def markdown(value, arg=''):
return value
else:
extensions = [e for e in arg.split(",") if e]
- return mark_safe(markdown.markdown(value, extensions))
+ return mark_safe(markdown.markdown(value, extensions=extensions))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]