otras correcciones

This commit is contained in:
2025-12-26 19:24:24 -03:00
parent a151260433
commit aafcbd5f50

View File

@@ -45,16 +45,13 @@
let errorLike = $state(false); let errorLike = $state(false);
let contenido = $derived(() => { let contenido = $derived(() => {
let t = ''; let t = post.content
t = post.content
.replaceAll('&', '') .replaceAll('&', '')
.replaceAll('<', '') .replaceAll('<', '')
.replaceAll('>', '') .replaceAll('>', '')
.replaceAll('"', '&quot;') .replaceAll('fetch', '')
.replaceAll("'", '&#039;') .replaceAll('\n', '<br>');
.replaceAll('fetch', '');
t = post.content.replaceAll('\n', '<br>');
t = t.replaceAll( t = t.replaceAll(
/#\p{L}*/gu, /#\p{L}*/gu,
(match) => (match) =>