# HG changeset patch
# User neko259
# Date 2015-11-13 16:42:08
# Node ID a28c6a156271fd127fffa6e9e9b530e44afc98a4
# Parent b2b4d7e687abfaea1e09e10f89152df079f24528
Parse direct option of the quote tag in addition to the source option
diff --git a/boards/mdx_neboard.py b/boards/mdx_neboard.py
--- a/boards/mdx_neboard.py
+++ b/boards/mdx_neboard.py
@@ -141,6 +141,8 @@ def render_quote(tag_name, value, option
source = ''
if 'source' in options:
source = options['source']
+ elif 'quote' in options:
+ source = options['quote']
if source:
result = '' % (source, value)
diff --git a/boards/templates/boards/staticpages/help.html b/boards/templates/boards/staticpages/help.html
--- a/boards/templates/boards/staticpages/help.html
+++ b/boards/templates/boards/staticpages/help.html
@@ -15,7 +15,7 @@
[s]{% trans 'Strikethrough text' %}[/s]
[comment][/comment]
[quote]>{% trans 'Quote' %}[/quote]
- [quote source=src]
[/quote]
+ [quote=src]
[/quote]
[tag]tag[/tag]
{% trans 'You can try pasting the text and previewing the result here:' %} {% trans 'Preview' %}