arrelgado tema de pagina de htags

This commit is contained in:
2025-12-21 22:53:27 -03:00
parent e58985b1e2
commit 08e84a1e27
4 changed files with 108 additions and 1 deletions

View File

@@ -47,7 +47,7 @@
let contenido = $derived(() => {
let t = post.content.replaceAll('\n', '<br>');
t = t.replace(
/#\w*/gm,
/#\p{L}*/u,
(match) =>
`<a class="hover:text-blue-200 text-blue-400" href="/htag/${match.replace('#', '')}">${match}</a>`
);