fix(share): HTML tags displayed escaped in headings

This commit is contained in:
Elian Doran
2025-10-23 14:19:54 +03:00
parent 94d62f810a
commit d2b6014b49
4 changed files with 9 additions and 7 deletions

View File

@@ -497,7 +497,7 @@ export function formatSize(size: number | null | undefined) {
}
}
export function slugify(text: string) {
function slugify(text: string) {
return text
.normalize("NFKD") // handles accents like é → e
.toLowerCase()
@@ -540,6 +540,7 @@ export default {
safeExtractMessageAndStackFromError,
sanitizeSqlIdentifier,
stripTags,
slugify,
timeLimit,
toBase64,
toMap,