No need for this snippet to be xhtml
authorChuck Hagenbuch <chuck@horde.org>
Sun, 22 Aug 2010 03:40:04 +0000 (23:40 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Sun, 22 Aug 2010 03:40:04 +0000 (23:40 -0400)
ansel/preview.php

index 36eeb72..7356b2b 100644 (file)
@@ -24,7 +24,7 @@ if ($gal->hasPermission($GLOBALS['registry']->getAuth(), Horde_Perms::SHOW) &&
     !$gal->hasPasswd() &&
     $gal->isOldEnough()) {
 
-    echo '<img src="' . $img . '" alt="' . htmlspecialchars($image->filename) . '" />';
+    echo '<img src="' . $img . '" alt="' . htmlspecialchars($image->filename) . '">';
 } else {
     echo '';
 }