From 156ff09fc7d42a14a6cc6c8f4dada816beb3b02c Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 26 Jan 2017 18:40:28 +0100 Subject: [PATCH] Fixed alignment support for headline tags --- .../system/html/input/node/HtmlInputNodeProcessor.class.php | 3 +++ 1 file changed, 3 insertions(+) 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', -- 2.20.1