From: Marcel Werk Date: Mon, 5 Sep 2016 15:31:24 +0000 (+0200) Subject: Keyword highlighting is no longer case-sensitive X-Git-Tag: 3.0.0_Beta_1~295 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7c544ccb8ad17b832be338b9f02d16359de397c4;p=GitHub%2FWoltLab%2FWCF.git Keyword highlighting is no longer case-sensitive --- 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 f3c2d8f6b3..daac80b52a 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 @@ -195,7 +195,7 @@ class HtmlOutputNodeProcessor extends AbstractHtmlNodeProcessor { $nodes[] = $node; } foreach ($nodes as $node) { - $split = preg_split('+'.$keywordPattern.'+', $node->textContent, -1, PREG_SPLIT_DELIM_CAPTURE); + $split = preg_split('+'.$keywordPattern.'+i', $node->textContent, -1, PREG_SPLIT_DELIM_CAPTURE); $count = count($split); if ($count == 1) return;