summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/randimg.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/randimg.html.php b/views/randimg.html.php
index 06057e9..2653cc9 100644
--- a/views/randimg.html.php
+++ b/views/randimg.html.php
@@ -34,7 +34,7 @@ if ( ! empty($item) ) {
$height = $height ? "height: {$height}px;" : "";
$target = Input::instance()->get("target");
- $target = $target ? "target='$target'" : "";
+ $target = $target ? "target=\"$target\"" : "";
echo <<<HTML
<div class="g-randimg">