mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-04-18 15:57:31 -03:00
@@ -92,7 +92,7 @@
|
|||||||
</h1>
|
</h1>
|
||||||
{#if usu.bio}
|
{#if usu.bio}
|
||||||
<p class="mt-4 rounded-4xl bg-accent p-4 text-center text-muted-foreground">
|
<p class="mt-4 rounded-4xl bg-accent p-4 text-center text-muted-foreground">
|
||||||
{usu.bio.replaceAll('\n', '<br>')}
|
{usu.bio.replaceAll('<', '')}
|
||||||
<!-- {@html usu.bio.replaceAll('\n', '<br>')} -->
|
<!-- {@html usu.bio.replaceAll('\n', '<br>')} -->
|
||||||
</p>
|
</p>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -46,6 +46,7 @@
|
|||||||
|
|
||||||
let contenido = $derived(() => {
|
let contenido = $derived(() => {
|
||||||
let t = post.content.replaceAll('\n', '<br>');
|
let t = post.content.replaceAll('\n', '<br>');
|
||||||
|
t = post.content.replaceAll('<', '');
|
||||||
t = t.replace(
|
t = t.replace(
|
||||||
/#\p{L}*/u,
|
/#\p{L}*/u,
|
||||||
(match) =>
|
(match) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user