From 6b61417bc846ec99e79f9361ed322b27bb0356a8 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 13 Sep 2016 15:24:04 +0200 Subject: [PATCH]

are now rendered as single lines w/o margin This change simulates the typical behavior of editors creating a simple
on return, but actually uses

for the time being. --- .../system/html/output/node/HtmlOutputNodeProcessor.class.php | 4 ++-- wcfsetup/install/files/style/layout/global.scss | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeProcessor.class.php b/wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeProcessor.class.php index daac80b52a..e8786dad99 100644 --- a/wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeProcessor.class.php +++ b/wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeProcessor.class.php @@ -105,10 +105,10 @@ class HtmlOutputNodeProcessor extends AbstractHtmlNodeProcessor { } } - for ($i = 0; $i < 2; $i++) { + //for ($i = 0; $i < 2; $i++) { $br = $this->getDocument()->createElement('br'); $paragraph->appendChild($br); - } + //} } DOMUtil::removeNode($paragraph, true); diff --git a/wcfsetup/install/files/style/layout/global.scss b/wcfsetup/install/files/style/layout/global.scss index de504a8d29..259148d00c 100644 --- a/wcfsetup/install/files/style/layout/global.scss +++ b/wcfsetup/install/files/style/layout/global.scss @@ -105,7 +105,8 @@ ol.nativeList { } p { - margin: 1em 0; + //margin: 1em 0; + margin: 0; } h1 { -- 2.20.1