From: Tim Düsterhus Date: Mon, 26 Apr 2021 12:47:35 +0000 (+0200) Subject: Actually set width and height in mediaBBCodeTag X-Git-Tag: 5.4.0_Alpha_1~47^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a0895752a0f040ed12b6a7435278d2882f7c05c;p=GitHub%2FWoltLab%2FWCF.git Actually set width and height in mediaBBCodeTag --- diff --git a/com.woltlab.wcf/templates/mediaBBCodeTag.tpl b/com.woltlab.wcf/templates/mediaBBCodeTag.tpl index 975e4bbf55..1aa5412a67 100644 --- a/com.woltlab.wcf/templates/mediaBBCodeTag.tpl +++ b/com.woltlab.wcf/templates/mediaBBCodeTag.tpl @@ -1,9 +1,9 @@ {if !$removeLinks|isset}{assign var='removeLinks' value=false}{/if} {if $thumbnailSize != 'original'} - {if !$removeLinks}{/if}{$media->altText}{if !$removeLinks}{/if} + {if !$removeLinks}{/if}{$media->altText}{if !$removeLinks}{/if} {else} - {$media->altText} + {$media->altText} {/if} {if $media->caption} diff --git a/wcfsetup/install/files/acp/templates/mediaBBCodeTag.tpl b/wcfsetup/install/files/acp/templates/mediaBBCodeTag.tpl index 975e4bbf55..1aa5412a67 100644 --- a/wcfsetup/install/files/acp/templates/mediaBBCodeTag.tpl +++ b/wcfsetup/install/files/acp/templates/mediaBBCodeTag.tpl @@ -1,9 +1,9 @@ {if !$removeLinks|isset}{assign var='removeLinks' value=false}{/if} {if $thumbnailSize != 'original'} - {if !$removeLinks}{/if}{$media->altText}{if !$removeLinks}{/if} + {if !$removeLinks}{/if}{$media->altText}{if !$removeLinks}{/if} {else} - {$media->altText} + {$media->altText} {/if} {if $media->caption}