fix double quoting in links. thanks STI for reporting that
This commit is contained in:
parent
911ecc80de
commit
c5dfc2937c
@ -1571,11 +1571,11 @@ function markup_url($matches) {
|
||||
foreach ($link as $attr => $value) {
|
||||
if ($attr == 'text' || $attr == 'after')
|
||||
continue;
|
||||
$parts[] = $attr . '="' . htmlspecialchars($value) . '"';
|
||||
$parts[] = $attr . '="' . $value . '"';
|
||||
}
|
||||
if (isset($link['after']))
|
||||
$after = $link['after'] . $after;
|
||||
return '<a ' . implode(' ', $parts) . '>' . utf8tohtml($link['text']) . '</a>' . $after;
|
||||
return '<a ' . implode(' ', $parts) . '>' . $link['text'] . '</a>' . $after;
|
||||
}
|
||||
|
||||
function unicodify($body) {
|
||||
|
Loading…
Reference in New Issue
Block a user