From 31759a0ef8e898bb213c35afbba94fcad39230c6 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 30 Sep 2019 11:01:48 +0900 Subject: [PATCH] Update string.utils.php --- helper/string.utils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helper/string.utils.php b/helper/string.utils.php index 76295e0..206c470 100644 --- a/helper/string.utils.php +++ b/helper/string.utils.php @@ -221,13 +221,13 @@ if(!check_function_exists("remove_utf8_bom")) { } if(!check_function_exists("get_tokenized_text")) { - function get_tokenized_text($text, $delimiters=array(",", " ", "|", "-", "+")) { + function get_tokenized_text($text, $delimiters=array(",", " ", "|", "-", "+","\t","\r\n","\n")) { return array_filter(multi_explode($delimiters, $text)); } } if(!check_function_exists("get_highlighted_html_by_words")) { - function get_highlighted_html_by_word($word, $text, $delimiters=array(",", " ", "|", "-", "+")) { + function get_highlighted_html_by_word($word, $text, $delimiters=array(",", " ", "|", "-", "+","\t","\r\n","\n")) { $html = $text; $words = get_tokenized_text($word, $delimiters);