correjido otro xss
This commit is contained in:
1 parent
c7de4c3e4c
commit
09539b20f6
1 file changed
+1
@@ -46,6 +46,7 @@
|
|||||||
|
|
||||||
let contenido = $derived(() => {
|
let contenido = $derived(() => {
|
||||||
let t = post.content.replaceAll('\n', '<br>');
|
let t = post.content.replaceAll('\n', '<br>');
|
||||||
|
t = post.content.replaceAll('<', '');
|
||||||
t = t.replace(
|
t = t.replace(
|
||||||
/#\p{L}*/u,
|
/#\p{L}*/u,
|
||||||
(match) =>
|
(match) =>
|
||||||
|
|||||||
Reference in new issue
Block a user