summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-01-17 00:30:04 +0100
committerMichael Foster <savetheinterpod@gmail.com>2014-01-19 14:56:05 -0500
commit900b4174cc8bfb37985c2671555a3263b836d791 (patch)
treef1c47e9587976c5a9457a37e76dea283917a8224 /inc
parentb06df1b03bc86c810684a73a91513276ca5c17a3 (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 f6a217a5..f8927fe4 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -1552,11 +1552,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) {