diff --git a/markdown.php b/markdown.php index c93d4b1..4fea25d 100644 --- a/markdown.php +++ b/markdown.php @@ -87,6 +87,9 @@ class markdown $replace[] = "\\1"; $search[] = "#<(.+@.+)>#U"; $replace[] = "\\1"; + // The links must not allow the : redo the conversion + $search[] = "#(.*)(.*)(.*)#"; + $replace[] = "\\1_\\2_\\3_\\4_\\5"; // TODO : Links by reference : // Voici un petit texte écrit par [Michel Fortin][mf]. // [mf]: http://michelf.ca/ "Mon site web"