mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-04-01 13:10:44 -03:00
Merge pull request #52 from emailerfacu-spec/dev
el regex no era global
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
|
||||
t = post.content.replaceAll('\n', '<br>');
|
||||
t = t.replaceAll(
|
||||
/#\p{L}*/u,
|
||||
/#\p{L}*/gu,
|
||||
(match) =>
|
||||
`<a class="hover:text-blue-200 text-blue-400" href="/htag/${match.replace('#', '')}">${match}</a>`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user