diff --git a/js/usercss.js b/js/usercss.js index 1f7a4df4..55f5698c 100644 --- a/js/usercss.js +++ b/js/usercss.js @@ -49,8 +49,8 @@ var usercss = (() => { }); } - function drawList(chars) { - return chars.map(c => c === '"' ? "'\"'" : `"${c}"`).join(', '); + function drawList(items) { + return items.map(i => i.length === 1 ? JSON.stringify(i) : i).join(', '); } /**