summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-01-17 00:30:04 +0100
committerczaks <marcin@6irc.net>2014-01-17 00:30:04 +0100
commitc5dfc2937c52ca0be07969dcd1617614c5c69b01 (patch)
tree69859c5dfc745fec884aa321e6760c52cf6a2168 /inc
parent911ecc80de5f53af2873c3d8c0ea93704660c35d (diff)
fix double quoting in links. thanks STI for reporting that
Diffstat (limited to 'inc')
-rw-r--r--inc/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 8b0745d3..4c3f6a4e 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -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) {