summaryrefslogtreecommitdiff
path: root/inc/format.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/format.php')
-rw-r--r--inc/format.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/format.php b/inc/format.php
index 3048afce4..501d0e795 100644
--- a/inc/format.php
+++ b/inc/format.php
@@ -20,6 +20,8 @@ function format_link_build($link){
//make sure the url is XHTML compliant
$link['url'] = str_replace('&','&',$link['url']);
$link['url'] = str_replace('&','&',$link['url']);
+ //remove double encodings in titles
+ $link['title'] = str_replace('&','&',$link['title']);
$ret = '';
$ret .= $link['pre'];