Show More
@@ -159,8 +159,10 b' def bbcode_extended(markup):' | |||||
159 | u'<span class="comment">//%(value)s</span>') |
|
159 | u'<span class="comment">//%(value)s</span>') | |
160 | parser.add_simple_formatter('spoiler', |
|
160 | parser.add_simple_formatter('spoiler', | |
161 | u'<span class="spoiler">%(value)s</span>') |
|
161 | u'<span class="spoiler">%(value)s</span>') | |
|
162 | # TODO Use <s> here | |||
162 | parser.add_simple_formatter('s', |
|
163 | parser.add_simple_formatter('s', | |
163 | u'<span class="strikethrough">%(value)s</span>') |
|
164 | u'<span class="strikethrough">%(value)s</span>') | |
|
165 | # TODO Why not use built-in tag? | |||
164 | parser.add_simple_formatter('code', |
|
166 | parser.add_simple_formatter('code', | |
165 | u'<pre><code>%(value)s</pre></code>', render_embedded=False) |
|
167 | u'<pre><code>%(value)s</pre></code>', render_embedded=False) | |
166 |
|
168 |
General Comments 0
You need to be logged in to leave comments.
Login now