From: Matthias Schmidt Date: Sat, 20 Aug 2016 12:44:35 +0000 (+0200) Subject: Fix code formatting X-Git-Tag: 3.0.0_Beta_1~636^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=661265255f7557b4a11f60e199e1c4756fe224ff;p=GitHub%2FWoltLab%2FWCF.git Fix code formatting --- 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 4a55f39bc9..b24c0de42a 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 @@ -186,10 +186,12 @@ class HtmlOutputNodeProcessor extends AbstractHtmlNodeProcessor { if ($count == 1) return; for ($i = 0; $i < $count; $i++) { - if ($i % 2 == 0) { // text + // text + if ($i % 2 == 0) { $node->parentNode->insertBefore($node->ownerDocument->createTextNode($split[$i]), $node); } - else { // match + // match + else { /** @var \DOMElement $element */ $element = $node->ownerDocument->createElement('span'); $element->setAttribute('class', 'highlight');