Commit 0f23b434 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Fix html entities appearing in fuzzy_matched_display_string

parent 3686113c
......@@ -233,7 +233,7 @@ namespace kfts {
for (int i = 0; i < str.size() && j < pattern.size(); ++i) {
if (str.at(i).toLower() == pattern.at(j).toLower()) {
str.replace(i, 1, htmlTag + str.at(i) + htmlTagClose);
i += 7;
i += htmlTag.size() + htmlTagClose.size();
++j;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment