summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/format.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/format.php b/inc/format.php
index 7c4028930..9c418e9ad 100644
--- a/inc/format.php
+++ b/inc/format.php
@@ -148,6 +148,7 @@ function format_link_externalurl($link){
$link['url'] = $link['url']; //keep it
$link['title'] = htmlspecialchars($link['url']);
if(!$link['name']) $link['name'] = htmlspecialchars($link['url']);
+ if($conf['relnofollow']) $link['more'] .= ' rel="nofollow"';
//thats it :-)
return $link;
}