From 0a0895752a0f040ed12b6a7435278d2882f7c05c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 26 Apr 2021 14:47:35 +0200 Subject: [PATCH] Actually set width and height in mediaBBCodeTag --- com.woltlab.wcf/templates/mediaBBCodeTag.tpl | 4 ++-- wcfsetup/install/files/acp/templates/mediaBBCodeTag.tpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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} -- 2.20.1