mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 23:58:00 +01:00
Move an inline style from util.objectToString to a new Key highlight group.
This commit is contained in:
@@ -514,8 +514,7 @@ const util = { //{{{
|
||||
}
|
||||
|
||||
value = template.highlight(value, true, 150);
|
||||
// FIXME: Inline style.
|
||||
let key = <span style="font-weight: bold;">{i}</span>;
|
||||
let key = <span highlight="Key">{i}</span>;
|
||||
if (!isNaN(i))
|
||||
i = parseInt(i);
|
||||
else if (/^[A-Z_]+$/.test(i))
|
||||
|
||||
Reference in New Issue
Block a user