austgl / python-markdown2

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

Nested list replaced with [HTML REMOVED] in safe mode #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This markdown:

    - test
    - test
        - test
        - test

results in:

    <ul>
    <li>test</li>
    <li>test
    [HTML_REMOVED]
    [HTML_REMOVED]test[HTML_REMOVED]
    [HTML_REMOVED]test[HTML_REMOVED]
    [HTML_REMOVED]</li>
    </ul>

when safe_mode=True. Works fine without safe mode.

Original issue reported on code.google.com by isagal...@gmail.com on 10 Nov 2007 at 9:37

GoogleCodeExporter commented 9 years ago
Can repro (of course). Mostly "safe_mode" was quickly added for compat with
markdown.py ... and not added that well. :)

Test case (and then hopefully a fix soon) coming.

Original comment by tre...@gmail.com on 13 Nov 2007 at 6:22

GoogleCodeExporter commented 9 years ago
test case added in revision 94:

  cd test && ./test.py issue9

Original comment by tre...@gmail.com on 13 Nov 2007 at 6:25

GoogleCodeExporter commented 9 years ago
Fixed in revision95 (markdown2.py version 1.0.1.2).

Original comment by tre...@gmail.com on 15 Nov 2007 at 5:53

GoogleCodeExporter commented 9 years ago
It works. Thanks!

Original comment by isagal...@gmail.com on 15 Nov 2007 at 11:39