rabin пре 2 година
родитељ
комит
aaeb945947
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Database.php

+ 1 - 1
src/Database.php

@@ -2418,7 +2418,7 @@ class Database
                                 $text = str_replace('<em class="dever_highlight">', '<font color="red" class="dever_highlight">', $text);
                                 $text = str_replace('</em>', '</font>', $text);
                             } else {
-                                $text = preg_replace('/('.$high[$ki].')/i', '<font color="red" class="dever_highlight">${1}</font>', $text);
+                                $text = preg_replace('/('.$high[$ki].')/i', '<font color="red" class="dever_highlight">${1}</font>', $text, 1);
                             }
                         }