From 21afc18fca5ac6f2806be881afafd8ea68dde3a4 Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Wed, 17 Jan 2024 14:56:35 +0100 Subject: [PATCH] Run code fixer --- .../input/node/HtmlInputNodeProcessor.class.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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 ad98ebafd7..9203b6d235 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 @@ -815,8 +815,8 @@ class HtmlInputNodeProcessor extends AbstractHtmlNodeProcessor //

https://example.com
…

//

…
https://example.com

if ( - ($nextSibling === null && $previousSibling !== null && $previousSibling->nodeName === 'br') || - ($previousSibling === null && $nextSibling !== null && $nextSibling->nodeName === 'br') + ($nextSibling === null && $previousSibling !== null && $previousSibling->nodeName === 'br') + || ($previousSibling === null && $nextSibling !== null && $nextSibling->nodeName === 'br') ) { $this->plainLinks[] = $plainLink->setIsStandalone($parent, false); continue; @@ -825,10 +825,10 @@ class HtmlInputNodeProcessor extends AbstractHtmlNodeProcessor //

…
https://example.com
…

//

…
https://example.com
…

if ( - $previousSibling === null && $nextSibling === null || - ( - $previousSibling !== null && $nextSibling !== null && - $previousSibling->nodeName === 'br' && $nextSibling->nodeName === 'br' + $previousSibling === null && $nextSibling === null + || ( + $previousSibling !== null && $nextSibling !== null + && $previousSibling->nodeName === 'br' && $nextSibling->nodeName === 'br' ) ) { $this->plainLinks[] = $plainLink->setIsStandalone($parent, false); @@ -890,6 +890,7 @@ class HtmlInputNodeProcessor extends AbstractHtmlNodeProcessor default: return true; } + return false; } } -- 2.20.1