elimino el < para que no se haga xss

This commit is contained in:
2025-12-26 16:48:50 -03:00
parent 1152459006
commit c7de4c3e4c

View File

@@ -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}