From: Alexander Ebert Date: Thu, 25 Jul 2019 10:32:47 +0000 (+0200) Subject: Workaround for the text alignment of media bbcodes X-Git-Tag: 5.2.0_Alpha_3~12 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=492b1377e8fedca902df2389ee80f4f4747ca436;p=GitHub%2FWoltLab%2FWCF.git Workaround for the text alignment of media bbcodes Fixes #2965 --- diff --git a/com.woltlab.wcf/templates/mediaBBCodeTag.tpl b/com.woltlab.wcf/templates/mediaBBCodeTag.tpl index d198fba170..f18d734ab3 100644 --- a/com.woltlab.wcf/templates/mediaBBCodeTag.tpl +++ b/com.woltlab.wcf/templates/mediaBBCodeTag.tpl @@ -1,4 +1,4 @@ -
+ {if $thumbnailSize != 'original'} {$media->altText} {else} @@ -6,12 +6,12 @@ {/if} {if $media->caption} -
+ {if $media->captionEnableHtml} {@$media->caption} {else} {$media->caption} {/if} -
+
{/if} -
+ diff --git a/wcfsetup/install/files/acp/templates/mediaBBCodeTag.tpl b/wcfsetup/install/files/acp/templates/mediaBBCodeTag.tpl index d198fba170..f18d734ab3 100644 --- a/wcfsetup/install/files/acp/templates/mediaBBCodeTag.tpl +++ b/wcfsetup/install/files/acp/templates/mediaBBCodeTag.tpl @@ -1,4 +1,4 @@ -
+ {if $thumbnailSize != 'original'} {$media->altText} {else} @@ -6,12 +6,12 @@ {/if} {if $media->caption} -
+ {if $media->captionEnableHtml} {@$media->caption} {else} {$media->caption} {/if} -
+
{/if} -
+