diff --git a/src/lib/components/CardPerfil.svelte b/src/lib/components/CardPerfil.svelte
index 71196fc..3fefccb 100644
--- a/src/lib/components/CardPerfil.svelte
+++ b/src/lib/components/CardPerfil.svelte
@@ -22,6 +22,17 @@
let image: File | null = $state(null);
let usu = $state({ displayName: data.displayName, bio: data.bio });
+ let contenido = $derived(() => {
+ let t = data.bio
+ .replaceAll('&', '')
+ .replaceAll('<', '')
+ .replaceAll('>', '')
+ .replaceAll('fetch', '')
+ .replaceAll('\n', '
');
+
+ return t;
+ });
+
async function cambiarFotoDePerfil() {
const input = document.createElement('input');
input.type = 'file';
@@ -92,7 +103,8 @@
{#if usu.bio}
- {usu.bio.replaceAll('<', '')} + {@html contenido()} +
{/if}