mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 16:30:13 +01:00
fixed issue #5885
This commit is contained in:
parent
836226a8d3
commit
ab4e2d1ed6
2 changed files with 17 additions and 57 deletions
|
|
@ -116,8 +116,8 @@ BlazeComponent.extendComponent({
|
|||
].join('|');
|
||||
const badPatterns = new RegExp(
|
||||
`(?:${[
|
||||
`<(${badTags})\s*[^>][\s\S]*?<\/\1>`,
|
||||
`<(${badTags})[^>]*?\/>`,
|
||||
`<(${badTags})\\s*[^>][\\s\\S]*?<\\/\\1>`,
|
||||
`<(${badTags})[^>]*?\\/>`,
|
||||
].join('|')})`,
|
||||
'gi',
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue