mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
🐛 Fixed alt="null"
for feature image in emails
no issue - when no alt text was set for feature images we were incorrectly rendering `alt="null"` in emails
This commit is contained in:
parent
62ee693310
commit
9c5a25b060
1 changed files with 1 additions and 1 deletions
|
@ -954,7 +954,7 @@ ${ templateSettings.showBadge ? `
|
|||
</tr>
|
||||
${ templateSettings.showFeatureImage && post.feature_image ? `
|
||||
<tr>
|
||||
<td class="feature-image ${hasFeatureImageCaption ? 'feature-image-with-caption' : ''}"><img src="${post.feature_image}"${post.feature_image_width ? ` width="${post.feature_image_width}"` : ''} alt="${post.feature_image_alt}"></td>
|
||||
<td class="feature-image ${hasFeatureImageCaption ? 'feature-image-with-caption' : ''}"><img src="${post.feature_image}"${post.feature_image_width ? ` width="${post.feature_image_width}"` : ''}${post.feature_image_alt ? ` alt="${post.feature_image_alt}"` : ''}></td>
|
||||
</tr>
|
||||
` : ``}
|
||||
${ hasFeatureImageCaption ? `
|
||||
|
|
Loading…
Add table
Reference in a new issue