]> sipb.mit.edu Git - ikiwiki.git/commitdiff
markdown bugs demonstrated
authorhttp://gmcmanus.myopenid.com/ <http://gmcmanus.myopenid.com/@web>
Thu, 24 Jul 2008 10:39:04 +0000 (06:39 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 24 Jul 2008 10:39:04 +0000 (06:39 -0400)
doc/bugs/markdown_bug:_email_escaping_and_plus_addresses.mdwn

index a361ae965e6f00ad6bf39f85a125c77d07d377bb..875de48c87b8f4660f074e35633ff29d67ffe982 100644 (file)
@@ -9,3 +9,21 @@ compare:
 It seems putting a '+' in there throws it. Maybe it's a markdown bug, or maybe the obfuscation markdown applies to email-links is being caught by the HTML sanitizer.
 
  -- [[JonDowland]]
+
+> It's a markdown bug. For some reason, markdown doesn't recognize the email with a '+' as an email:
+>
+>     $ echo '<a+b@c.org>' | markdown
+>     <p><a+b@c.org></p>
+>
+> htmlscrubber then (rightly) removes this unknown tag.
+>
+> But I've noticed some other Text::Markdown bugs that, even with htmlscrubber, produce
+> [ill-formed (X)HTML](http://validator.w3.org/check?uri=http%3A%2F%2Fikiwiki.info%2Fbugs%2Fmarkdown_bug%3A_email_escaping_and_plus_addresses%2F).
+> (View the markdown source of this page.)
+>
+> --Gabriel
+
+<tt>
+
+- 
+>