Create proper shim for xss library

This commit is contained in:
Robin Ward
2020-09-14 15:57:32 -04:00
parent 7699b90f1a
commit 30e9112535
4 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
import xss from "pretty-text/xss";
import xss from "xss";
function attr(name, value) {
if (value) {