@rtorcato/repo-tooling 3.9.1 → 3.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,8 +20,13 @@ const COUNTER_GLOW = '#6e7bff';
|
|
|
20
20
|
const INK = '#0A0E16';
|
|
21
21
|
const TEXT = '#e6edf3';
|
|
22
22
|
const MUTED = '#9ba6b8';
|
|
23
|
+
/** `"` matters because this output also lands in double-quoted attributes (the `aria-label` below). */
|
|
23
24
|
function esc(s) {
|
|
24
|
-
return s
|
|
25
|
+
return s
|
|
26
|
+
.replace(/&/g, '&')
|
|
27
|
+
.replace(/</g, '<')
|
|
28
|
+
.replace(/>/g, '>')
|
|
29
|
+
.replace(/"/g, '"');
|
|
25
30
|
}
|
|
26
31
|
/**
|
|
27
32
|
* Greedy word wrap to a character budget. Character-budgeted rather than
|
package/package.json
CHANGED