Smileyt / python-markdown2

Automatically exported from code.google.com/p/python-markdown2
Other
0 stars 0 forks source link

safe_mode=True seems to postprocess generated HTML #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Markdown successfully processes this snippet with safe_mode=False:

    markdown('## Heading 2\n', safe_mode=False)

However with safe_mode=True it seems to kill its own generated HTML:

    >>>> markdown('## Heading 2\n', safe_mode=True)
    '[HTML_REMOVED]\n'

Original issue reported on code.google.com by isagal...@gmail.com on 3 Nov 2007 at 11:12

GoogleCodeExporter commented 8 years ago
test case added in r74:

  cd test && ./test.py safe_mode

Original comment by tre...@gmail.com on 3 Nov 2007 at 5:32

GoogleCodeExporter commented 8 years ago
fixed in r79

Original comment by tre...@gmail.com on 4 Nov 2007 at 12:18

GoogleCodeExporter commented 8 years ago

Original comment by tre...@gmail.com on 4 Nov 2007 at 12:19