1
Fork 0

javascript(quizizz-hack): feat: removed yet another tag

Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
Matei Adriel 2020-11-05 10:33:06 +02:00 committed by prescientmoon
parent d886691a80
commit e16300d0a0
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -1,6 +1,6 @@
import { render, html } from "https://cdn.skypack.dev/lit-html"; import { render, html } from "https://cdn.skypack.dev/lit-html";
const tags = ["p", "strong", "em", "sub", "sup", "span", "br"]; const tags = ["p", "strong", "em", "sub", "sup", "span", "br", "sub"];
function removeTags(input) { function removeTags(input) {
let copy = input.replace('"', '\\"'); let copy = input.replace('"', '\\"');