diff --git a/rebuild.php b/rebuild.php index f328dd3..2271786 100644 --- a/rebuild.php +++ b/rebuild.php @@ -115,9 +115,9 @@ function hesc($sz) { function text2html($sz) { $base = hesc($sz); - $base = preg_replace('~(https?://[^ \\r\\n\\t]+)~i', '\\1', $base); $base = preg_replace('~=+(.+)=+~', '\\1', $base); + $base = preg_replace('~(https?://[^ \\r\\n\\t]+)~i', '\\1', $base); $btparts = explode('`', $base); if (count($btparts) > 1 && (count($btparts) % 2)) {