]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/htmlscrubber_undoes_email_obfuscation_by_Text::Markdown.mdwn
close
[ikiwiki.git] / doc / bugs / htmlscrubber_undoes_email_obfuscation_by_Text::Markdown.mdwn
index bac8e4acd93302afbaeee93c3c1d63e5c0b2dedf..12018d5178a43acd7721f958da184a2e88ffa842 100644 (file)
@@ -18,3 +18,20 @@ Don't spammers use HTML parsers?
 
 > I now see this was noted in the formatting [[/ikiwiki/formatting/discussion]], and won't/can't be fixed.
 > So I guess this is [[done]]. --Gabriel
+
+I've [[patch]]ed mdwn.pm to prevent Text::Markdown from obfuscating the emails.
+The relevant commits are on the master branch of [my "fork" of ikiwiki on Github] [github]:
+
+- 7d0970adbcf0b63e7e5532c239156f6967d10158
+- 52c241e723ced4d7c6a702dd08cda37feee75531
+
+--Gabriel.
+
+[github]: http://github.com/gmcmanus/ikiwiki/
+
+> Thanks for coming up with a patch, but overriding
+> `Text::Markdown::_EncodeEmailAddress` gets into its internals more than
+> I'm comfortable with.
+> 
+> It would probably be best to add an option to [[!cpan Text::Markdown]] to
+> let the email address munging be disabled. --[[Joey]]