Show More
@@ -127,7 +127,7 b' def render_reflink(tag_name, value, opti' | |||
|
127 | 127 | |
|
128 | 128 | |
|
129 | 129 | def bbcode_extended(markup): |
|
130 |
parser = bbcode.Parser( |
|
|
130 | parser = bbcode.Parser() | |
|
131 | 131 | parser.add_formatter('post', render_reflink, strip=True) |
|
132 | 132 | parser.add_simple_formatter('quote', |
|
133 | 133 | u'<span class="multiquote">%(value)s</span>') |
@@ -139,7 +139,7 b' def bbcode_extended(markup):' | |||
|
139 | 139 | u'<span class="strikethrough">%(value)s</span>') |
|
140 | 140 | parser.add_simple_formatter('code', |
|
141 | 141 | u'<pre><code>%(value)s</pre></code>') |
|
142 |
return |
|
|
142 | return parser.format(markup) | |
|
143 | 143 | |
|
144 | 144 | formatters = [ |
|
145 | 145 | QuotePattern, |
General Comments 0
You need to be logged in to leave comments.
Login now