Commit c8cab85b authored by gaojiuli's avatar gaojiuli

Remove <b> and <i> from BLOCK_ELEMENTS

parent 99cc0ab8
......@@ -28,7 +28,6 @@ string = """
<b>bold</b>
<i>italic</i>
<b><i>bold italic</i></b>
</p>
"""
......
......@@ -36,9 +36,7 @@ BlOCK_ELEMENTS = {
'ol': '<ol.*?>(.*?)</ol>',
'block_code': '<pre.*?><code.*?>(.*?)</code></pre>',
'p': '<p\s.*?>(.*?)</p>',
'p_with_out_class': '<p>(.*?)</p>',
'b': '<b>(.*?)</b>',
'i': '<i>(.*?)</i>'}
'p_with_out_class': '<p>(.*?)</p>'}
INLINE_ELEMENTS = {
'b': '<b>(.*?)</b>',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment