1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-19 07:25:44 +01:00

Turn off white-space:pre for the completions list

This commit is contained in:
Kris Maglione
2008-11-02 01:56:30 +00:00
parent c03fdade9c
commit b334f2538d
2 changed files with 5 additions and 5 deletions

View File

@@ -112,12 +112,12 @@ const template = {
if (str == "")
return <>{str}</>;
XML.ignoreWhitespace = false;
str = String(str).replace(" ", "\u00a0");
let s = <></>;
let start = 0;
for (let [i, length] in iter)
{
XML.ignoreWhitespace = false;
s += <>{str.substring(start, i)}</>;
s += <span class="hl-Filter">{str.substr(i, length)}</span>;
start = i + length;