mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 09:48:00 +01:00
Fix completion filter highlighting wrt white space collapsing.
This commit is contained in:
@@ -90,6 +90,7 @@ const template = {
|
||||
let i;
|
||||
while ((i = lcstr.indexOf(lcfilter, start)) > -1)
|
||||
{
|
||||
XML.ignoreWhitespace = false;
|
||||
s += <>{str.substring(start, i)}</>;
|
||||
s += <span class="hl-Filter">{str.substr(i, filter.length)}</span>;
|
||||
start = i + filter.length;
|
||||
|
||||
Reference in New Issue
Block a user