mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:05:56 +00:00
Fixed height/width image attributes for enclosures.
This commit is contained in:
@@ -1953,9 +1953,9 @@
|
|||||||
if (!$hide_images) {
|
if (!$hide_images) {
|
||||||
$encsize = '';
|
$encsize = '';
|
||||||
if ($entry['height'] > 0)
|
if ($entry['height'] > 0)
|
||||||
$encsize .= ' height="' . intval($entry['width']) . '"';
|
$encsize .= ' height="' . intval($entry['height']) . '"';
|
||||||
if ($entry['width'] > 0)
|
if ($entry['width'] > 0)
|
||||||
$encsize .= ' width="' . intval($entry['height']) . '"';
|
$encsize .= ' width="' . intval($entry['width']) . '"';
|
||||||
$rv .= "<p><img
|
$rv .= "<p><img
|
||||||
alt=\"".htmlspecialchars($entry["filename"])."\"
|
alt=\"".htmlspecialchars($entry["filename"])."\"
|
||||||
src=\"" .htmlspecialchars($entry["url"]) . "\"
|
src=\"" .htmlspecialchars($entry["url"]) . "\"
|
||||||
|
|||||||
Reference in New Issue
Block a user