aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-23 15:53:29 -0800
committerfriendica <info@friendica.com>2014-01-23 15:53:29 -0800
commit357ddd1bf708bfa1c3973bf9a69a333b3338a5ce (patch)
tree57b13152cef3b5d26a9abe0ef09b6c131c3fd17a
parentde061efefa3354ad7a12a9927f26aa8c2dc4bc50 (diff)
downloadvolse-hubzilla-357ddd1bf708bfa1c3973bf9a69a333b3338a5ce.tar.gz
volse-hubzilla-357ddd1bf708bfa1c3973bf9a69a333b3338a5ce.tar.bz2
volse-hubzilla-357ddd1bf708bfa1c3973bf9a69a333b3338a5ce.zip
display a somewhat more pleasant hovertip on qr codes
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 7e6ef3a2b..697260668 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -133,7 +133,7 @@ function bb_parse_crypt($match) {
}
function bb_qr($match) {
- return '<img class="zrl" src="' . z_root() . '/photo/qr?f=&qr=' . urlencode($match[1]) . '" alt="' . t('QR code') . '" title="' . urlencode($match[1]) . '" />';
+ return '<img class="zrl" src="' . z_root() . '/photo/qr?f=&qr=' . urlencode($match[1]) . '" alt="' . t('QR code') . '" title="' . htmlspecialchars($match[1],ENT_QUOTES,'UTF-8') . '" />';
}