aboutsummaryrefslogtreecommitdiff
path: root/data/templates/default
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-01-20 15:20:16 +0100
committerChristian Weiske <cweiske@cweiske.de>2012-01-20 15:20:16 +0100
commit645f21b1a90b7369218913eea8fba711e12f9d20 (patch)
tree5f9261579c7d54c19bf0f107c3a68dfbfabb7bc9 /data/templates/default
parentd8ee343473c23d856f1b148067060e9edd0aa9b0 (diff)
downloadsemanticscuttle-645f21b1a90b7369218913eea8fba711e12f9d20.tar.gz
semanticscuttle-645f21b1a90b7369218913eea8fba711e12f9d20.tar.bz2
Fix bug: Invalid HTML when website thumbnails are activated
Diffstat (limited to 'data/templates/default')
-rw-r--r--data/templates/default/bookmarks-thumbnail.inc.tpl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default/bookmarks-thumbnail.inc.tpl.php b/data/templates/default/bookmarks-thumbnail.inc.tpl.php
index 200b8f7..77cc67f 100644
--- a/data/templates/default/bookmarks-thumbnail.inc.tpl.php
+++ b/data/templates/default/bookmarks-thumbnail.inc.tpl.php
@@ -13,6 +13,6 @@ $thumbnailHash = md5(
$address . $GLOBALS['thumbnailsUserId'] . $GLOBALS['thumbnailsKey']
);
//echo '<a href="'. $address .'"'. $rel .' ><img class="thumbnail" src="http://www.artviper.net/screenshots/screener.php?url='.$address.'&w=120&sdx=1280&userID='.$GLOBALS['thumbnailsUserId'].'&hash='.$thumbnailHash.'" />';
-echo '<img class="thumbnail" onclick="window.location.href=\''.$address.'\'" src="http://www.artviper.net/screenshots/screener.php?url='.$address.'&w=120&sdx=1280&userID='.$GLOBALS['thumbnailsUserId'].'&hash='.$thumbnailHash.'" />';
+echo '<img class="thumbnail" onclick="window.location.href=\''.htmlspecialchars($address).'\'" src="http://www.artviper.net/screenshots/screener.php?url='.htmlspecialchars($address).'&amp;w=120&amp;sdx=1280&amp;userID='.$GLOBALS['thumbnailsUserId'].'&amp;hash='.$thumbnailHash.'" />';
?> \ No newline at end of file