X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/ea2b0897940d183d7eb18d5dcf06f2cbd85729da..c594109f575606b1e6795fc2efb5d97085ea212e:/doc/bugs/emails_should_not_be_considered_as_broken_links.mdwn diff --git a/doc/bugs/emails_should_not_be_considered_as_broken_links.mdwn b/doc/bugs/emails_should_not_be_considered_as_broken_links.mdwn index 1fddf4ea2..5aad1292a 100644 --- a/doc/bugs/emails_should_not_be_considered_as_broken_links.mdwn +++ b/doc/bugs/emails_should_not_be_considered_as_broken_links.mdwn @@ -1,3 +1,12 @@ The [[ikiwiki/directive/brokenlinks]] directive lists emails when used inside [[ikiwiki/wikilink]]s: \[[john.doo@example.com\]] -> [[john.doo@example.com]]. Obviously its is a bug since 1) there is a link generated in the page; 2) "fixing" the broken link in the brokenlinks page may yield to stange results [[http://ikiwiki.info/ikiwiki.cgi?page=john.doo__64__example.com&do=create]]. [[JeanPrivat]] [[!brokenlinks pages="*@* and !recentchanges"]] + +> Weird. The bug, imho, is that `\[[email-address]]` results in a marked-up email address. I think marking up email addresses into hyperlinks should be handled by a markup plugin (e.g. markdown), not by the wikilink parser. I feel the same way for external links, but it appears [this is all by design](http://source.ikiwiki.branchable.com/?p=source.git;a=commitdiff;h=07a08122d926ab6b7741c94bc6c0038ffe0113fb). — [[Jon]] + +>> I belive this was done for compatability with the wikicreole plugin. +>> Since in creole, a wikilink can contain an email or full html link, +>> and it was easier to make ikiwiki's wikilinks do so too, rather +>> than put entirely different link handling into creole. +>> +>> Anyway, I've fixed this. [[done]] --[[Joey]]