From 7c544ccb8ad17b832be338b9f02d16359de397c4 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 5 Sep 2016 17:31:24 +0200 Subject: [PATCH] Keyword highlighting is no longer case-sensitive --- .../system/html/output/node/HtmlOutputNodeProcessor.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1