We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c12066d commit aa6eec6Copy full SHA for aa6eec6
src/options/view.js
@@ -7,9 +7,10 @@ export const getListElements = () =>
7
getRootElem()
8
.map(elem => elem.children);
9
10
+const Sanitizer = {unwrapSafeHTML: s => s /* no thanks, we know what we are doing, lint */};
11
export const setListElements = listContent =>
12
- .map(rootElem => returnTrue(rootElem.innerHTML = listContent));
13
+ .map(rootElem => returnTrue(rootElem.innerHTML = Sanitizer.unwrapSafeHTML(listContent)));
14
15
export const onListItemClick = handler =>
16
0 commit comments