diff options
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 90e23d897..50c6f27fb 100644 --- a/functions.php +++ b/functions.php @@ -3669,7 +3669,8 @@ $res = preg_replace('/<img[^>]+>/is', '', $res); } - $res = rewrite_urls($res); + if (strpos($res, "href=") === false) + $res = rewrite_urls($res); $charset_hack = '<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |