aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 49d4278..aad239a 100644
--- a/functions.php
+++ b/functions.php
@@ -13,7 +13,7 @@ function autolink($text='') {
return preg_replace_callback("#$pattern#i", function($matches) {
$input = $matches[0];
$url = preg_match('!^https?://!i', $input) ? $input : "http://$input";
- return '<a href="' . $url . '" rel="nofollow" target="_blank">' . "$input</a>";
+ return '<a href="' . $url . '" data-external="true">' . "$input</a>";
}, $text);
}