]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Fix bug producing invalid HTML
authorDavid Sferruzza <david.sferruzza@gmail.com>
Sun, 10 Mar 2013 18:03:34 +0000 (19:03 +0100)
committerDavid Sferruzza <david.sferruzza@gmail.com>
Sun, 10 Mar 2013 18:03:34 +0000 (19:03 +0100)
index.php

index adc11f9bc4405087983e996c0ebeebeb75131eb9..4c3a3a4dcd199988d1c2b1b887f4626fa9890d60 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1979,7 +1979,6 @@ function lazyThumbnail($url,$href=false)
     else
         $html.='<img class="lazyimage" src="#" data-original="'.htmlspecialchars($t['src']).'"';
 
-    $html.='<img class="lazyimage" src="#" data-original="'.htmlspecialchars($t['src']).'"';
     if (!empty($t['width']))  $html.=' width="'.htmlspecialchars($t['width']).'"';
     if (!empty($t['height'])) $html.=' height="'.htmlspecialchars($t['height']).'"';
     if (!empty($t['style']))  $html.=' style="'.htmlspecialchars($t['style']).'"';