aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorDavid Sferruzza <david.sferruzza@gmail.com>2013-03-10 19:03:34 +0100
committerDavid Sferruzza <david.sferruzza@gmail.com>2013-03-10 19:03:34 +0100
commita908244cc42019b6b7cbba260a21a0c3b804945b (patch)
treee4b80ab8bbc4900113036491f214753cbab80fe8 /index.php
parent310f3ca0079a03eaa627f94b65486e4547aeb3d9 (diff)
downloadShaarli-a908244cc42019b6b7cbba260a21a0c3b804945b.tar.gz
Shaarli-a908244cc42019b6b7cbba260a21a0c3b804945b.tar.zst
Shaarli-a908244cc42019b6b7cbba260a21a0c3b804945b.zip
Fix bug producing invalid HTML
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/index.php b/index.php
index adc11f9b..4c3a3a4d 100644
--- a/index.php
+++ b/index.php
@@ -1979,7 +1979,6 @@ function lazyThumbnail($url,$href=false)
1979 else 1979 else
1980 $html.='<img class="lazyimage" src="#" data-original="'.htmlspecialchars($t['src']).'"'; 1980 $html.='<img class="lazyimage" src="#" data-original="'.htmlspecialchars($t['src']).'"';
1981 1981
1982 $html.='<img class="lazyimage" src="#" data-original="'.htmlspecialchars($t['src']).'"';
1983 if (!empty($t['width'])) $html.=' width="'.htmlspecialchars($t['width']).'"'; 1982 if (!empty($t['width'])) $html.=' width="'.htmlspecialchars($t['width']).'"';
1984 if (!empty($t['height'])) $html.=' height="'.htmlspecialchars($t['height']).'"'; 1983 if (!empty($t['height'])) $html.=' height="'.htmlspecialchars($t['height']).'"';
1985 if (!empty($t['style'])) $html.=' style="'.htmlspecialchars($t['style']).'"'; 1984 if (!empty($t['style'])) $html.=' style="'.htmlspecialchars($t['style']).'"';