From 492b1377e8fedca902df2389ee80f4f4747ca436 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 25 Jul 2019 12:32:47 +0200 Subject: [PATCH] Workaround for the text alignment of media bbcodes Fixes #2965 --- com.woltlab.wcf/templates/mediaBBCodeTag.tpl | 8 ++++---- wcfsetup/install/files/acp/templates/mediaBBCodeTag.tpl | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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} -
+ -- 2.20.1