The mailtolink don't have the //
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1789 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -92,7 +92,7 @@ class markdown
|
|||||||
$search[] = "#<(https?://.+)>#";
|
$search[] = "#<(https?://.+)>#";
|
||||||
$replace[] = "<a href='\\1'>\\1</a>";
|
$replace[] = "<a href='\\1'>\\1</a>";
|
||||||
$search[] = "#<(.+@.+)>#";
|
$search[] = "#<(.+@.+)>#";
|
||||||
$replace[] = "<a href='mailto://\\1'>\\1</a>";
|
$replace[] = "<a href='mailto:\\1'>\\1</a>";
|
||||||
// TODO : Links by reference :
|
// TODO : Links by reference :
|
||||||
// Voici un petit texte écrit par [Michel Fortin][mf].
|
// Voici un petit texte écrit par [Michel Fortin][mf].
|
||||||
// [mf]: http://michelf.ca/ "Mon site web"
|
// [mf]: http://michelf.ca/ "Mon site web"
|
||||||
|
|||||||
Reference in New Issue
Block a user