mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-04-06 14:00:43 -03:00
arrelgado tema de pagina de htags
This commit is contained in:
@@ -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>`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user