Add files via upload
This commit is contained in:
@@ -344,4 +344,10 @@ async function cleanStringOfHTMLButEmotes(string) {
|
||||
|
||||
// Remove todo o restante do HTML
|
||||
return container.textContent || "";
|
||||
}
|
||||
|
||||
|
||||
function stripStringFromHtml(html) {
|
||||
let doc = new DOMParser().parseFromString(html, 'text/html');
|
||||
return doc.body.textContent || "";
|
||||
}
|
Reference in New Issue
Block a user