mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-30 21:47:30 +00:00
remove spaces in empty lines
This commit is contained in:
parent
93ade78deb
commit
9f34304a41
|
@ -45,10 +45,10 @@ class SeedDMS_View_Search extends SeedDMS_Theme_Style {
|
||||||
*/
|
*/
|
||||||
function markQuery($str, $tag = "b") { /* {{{ */
|
function markQuery($str, $tag = "b") { /* {{{ */
|
||||||
$querywords = preg_split("/ /", $this->query);
|
$querywords = preg_split("/ /", $this->query);
|
||||||
|
|
||||||
foreach ($querywords as $queryword)
|
foreach ($querywords as $queryword)
|
||||||
$str = str_ireplace("($queryword)", "<" . $tag . ">\\1</" . $tag . ">", $str);
|
$str = str_ireplace("($queryword)", "<" . $tag . ">\\1</" . $tag . ">", $str);
|
||||||
|
|
||||||
return $str;
|
return $str;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user