1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Fix some Sentry reported crashes

This commit is contained in:
xmflsct
2023-01-16 18:56:15 +01:00
parent 18ad22302d
commit 74e794a215
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,8 @@
import * as htmlparser2 from 'htmlparser2'
const removeHTML = (text: string): string => {
if (!text) return ''
let raw: string = ''
const parser = new htmlparser2.Parser({