I replaced ereg_replace with preg_replace function call in utils.php 21 line.
$attrib_value = preg_replace( "/[[:alpha:]]+:\/\/[^<>[:space:]]+[[:alnum:]\/]/", "<a href=\"\\0\" rel=\"nofollow\">\\0</a>",$attrib_value);
Diff:
--- old +++ new @@ -1,5 +1,7 @@ I replaced ereg_replace with preg_replace function call in utils.php 21 line. +~~~~~~ $attrib_value = preg_replace( "/[[:alpha:]]+:\/\/[^<>[:space:]]+[[:alnum:]\/]/", "<a href=\"\\0\" rel=\"nofollow\">\\0</a>",$attrib_value); +~~~~~~
Agreed; to be incorporated into next version.
(Fixed ticket system wiki mangling of replacement code fragment)
Committed for inclusion in next version.
Fixed in version 0.12.
(The code in question has been split into a separate function, urls_to_links(), in preparation for adding editing support in a future version.)
Log in to post a comment.
Diff:
Agreed; to be incorporated into next version.
(Fixed ticket system wiki mangling of replacement code fragment)
Committed for inclusion in next version.
Fixed in version 0.12.
(The code in question has been split into a separate function, urls_to_links(), in preparation for adding editing support in a future version.)