mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-29 12:02:25 +01:00
Kill filterURLArray
This commit is contained in:
@@ -169,8 +169,11 @@ const template = {
|
||||
str = String(str).replace(" ", "\u00a0");
|
||||
let s = <></>;
|
||||
let start = 0;
|
||||
let n = 0;
|
||||
for (let [i, length] in iter)
|
||||
{
|
||||
if (n++ > 8)
|
||||
return s + <>{str.substr(start)}</>;
|
||||
XML.ignoreWhitespace = false;
|
||||
s += <>{str.substring(start, i)}</>;
|
||||
s += highlight(str.substr(i, length));
|
||||
|
||||
Reference in New Issue
Block a user