Merge pull request #54 from emailerfacu-spec/dev

otras correcciones
This commit is contained in:
emailerfacu-spec authored and GitHub committed 2025-12-26 19:24:55 -03:00
commit fae9a676e2
1 file changed
+3 -6
+3 -6
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) =>