Show More
@@ -141,6 +141,8 b' def render_quote(tag_name, value, option' | |||||
141 | source = '' |
|
141 | source = '' | |
142 | if 'source' in options: |
|
142 | if 'source' in options: | |
143 | source = options['source'] |
|
143 | source = options['source'] | |
|
144 | elif 'quote' in options: | |||
|
145 | source = options['quote'] | |||
144 |
|
146 | |||
145 | if source: |
|
147 | if source: | |
146 | result = '<div class="multiquote"><div class="quote-header">%s</div><div class="quote-text">%s</div></div>' % (source, value) |
|
148 | result = '<div class="multiquote"><div class="quote-header">%s</div><div class="quote-text">%s</div></div>' % (source, value) |
@@ -15,7 +15,7 b'' | |||||
15 | <p>[s]<span class="strikethrough">{% trans 'Strikethrough text' %}</span>[/s]</p> |
|
15 | <p>[s]<span class="strikethrough">{% trans 'Strikethrough text' %}</span>[/s]</p> | |
16 | <p>[comment]<span class="comment">{% trans 'Comment' %}</span>[/comment]</p> |
|
16 | <p>[comment]<span class="comment">{% trans 'Comment' %}</span>[/comment]</p> | |
17 | <p>[quote]<span class="quote">>{% trans 'Quote' %}</span>[/quote]</p> |
|
17 | <p>[quote]<span class="quote">>{% trans 'Quote' %}</span>[/quote]</p> | |
18 |
<p>[quote |
|
18 | <p>[quote=src]<div class="multiquote"><div class="quote-header">src</div><div class="quote-text">{% trans 'Quote' %}</div></div><br />[/quote]</p> | |
19 | <p>[tag]<a class="tag">tag</a>[/tag]</p> |
|
19 | <p>[tag]<a class="tag">tag</a>[/tag]</p> | |
20 | <br/> |
|
20 | <br/> | |
21 | <p>{% trans 'You can try pasting the text and previewing the result here:' %} <a href="{% url 'preview' %}">{% trans 'Preview' %}</a></p> |
|
21 | <p>{% trans 'You can try pasting the text and previewing the result here:' %} <a href="{% url 'preview' %}">{% trans 'Preview' %}</a></p> |
General Comments 0
You need to be logged in to leave comments.
Login now