From: Marcel Werk Date: Thu, 26 Jan 2017 17:40:28 +0000 (+0100) Subject: Fixed alignment support for headline tags X-Git-Tag: 3.0.2~51 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=156ff09fc7d42a14a6cc6c8f4dada816beb3b02c;p=GitHub%2FWoltLab%2FWCF.git Fixed alignment support for headline tags --- diff --git a/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeProcessor.class.php b/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeProcessor.class.php index 58f1bee919..f0c891eb9b 100644 --- a/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeProcessor.class.php +++ b/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeProcessor.class.php @@ -22,6 +22,9 @@ class HtmlInputNodeProcessor extends AbstractHtmlNodeProcessor { * @var array */ public static $allowedClassNames = [ + 'h2' => ['text-center', 'text-justify', 'text-right'], + 'h3' => ['text-center', 'text-justify', 'text-right'], + 'h4' => ['text-center', 'text-justify', 'text-right'], 'img' => [ // float left/right 'messageFloatObjectLeft', 'messageFloatObjectRight',