Fixed height/width image attributes for enclosures.
This commit is contained in:
parent
c7ce438e7b
commit
08e79cb6b9
1 changed files with 2 additions and 2 deletions
|
@ -1953,9 +1953,9 @@
|
|||
if (!$hide_images) {
|
||||
$encsize = '';
|
||||
if ($entry['height'] > 0)
|
||||
$encsize .= ' height="' . intval($entry['width']) . '"';
|
||||
$encsize .= ' height="' . intval($entry['height']) . '"';
|
||||
if ($entry['width'] > 0)
|
||||
$encsize .= ' width="' . intval($entry['height']) . '"';
|
||||
$encsize .= ' width="' . intval($entry['width']) . '"';
|
||||
$rv .= "<p><img
|
||||
alt=\"".htmlspecialchars($entry["filename"])."\"
|
||||
src=\"" .htmlspecialchars($entry["url"]) . "\"
|
||||
|
|
Loading…
Reference in a new issue