Smileyt / python-markdown2

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

URLs surrounded with "<" and ">" are killed with safe_mode=True #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Looks like things like "<http://google.com/>" are treated as HTML and are
replaced with "[HTML REMOVED]" before they get a chance to be treated as links.

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

GoogleCodeExporter commented 8 years ago
Ha!

Original comment by uzur...@gmail.com on 13 Nov 2007 at 11:38

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

Eventually I want to do a better safe-mode.

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

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

  cd test && ./test.py issue7

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

GoogleCodeExporter commented 8 years ago
Don't know what happened to rendering of that last comment (perhaps a screw up 
with
auto-linking of "issueN"?). But to run the test case for this issue, run 
"./test.py
issue7" in the test dir.

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

GoogleCodeExporter commented 8 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 8 years ago
It works. Thanks!

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