fixes double encoding of & in titles (Task #57)

darcs-hash:20050119190545-9977f-a0eadd240cf161973a77a75e8ffd74007b811493.gz
This commit is contained in:
andi 2005-01-19 20:05:45 +01:00
parent a31ab7a2d0
commit b6030ae4bc
1 changed files with 2 additions and 0 deletions

View File

@ -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'];