summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 6d3a2cacc..f528edc9b 100644
--- a/functions.php
+++ b/functions.php
@@ -823,11 +823,11 @@
}
/* taaaags */
- // <a href="http://technorati.com/tag/Xorg" rel="tag">Xorg</a>, //
+ // <a href="..." rel="tag">Xorg</a>, //
$entry_tags = null;
- preg_match_all("/<a.*?href=.http:\/\/.*?technorati.com\/tag\/([^\"\'>]+)/i",
+ preg_match_all("/<a.*?rel=['\"]tag['\"].*?>([^<]+)<\/a>/i",
$entry_content_unescaped, $entry_tags);
// print "<br>$entry_title : $entry_content_unescaped<br>";