mirror of
https://github.com/wekan/wekan.git
synced 2025-12-26 12:18:49 +01:00
Try to allow links to onenote, mailspring and file.
Thanks to lime918, rgalonso, ocdtrekkie, gkarachuk and xet7 ! Fixes #1615
This commit is contained in:
parent
4b3270e82a
commit
3977f2187a
2 changed files with 24 additions and 16 deletions
|
|
@ -275,7 +275,10 @@ function mySafeAttrValue(tag, name, value, cssFilter) {
|
|||
if (
|
||||
/^thunderlink:/gi.test(value) ||
|
||||
/^cbthunderlink:/gi.test(value) ||
|
||||
/^aodroplink:/gi.test(value)
|
||||
/^aodroplink:/gi.test(value) ||
|
||||
/^onenote:/gi.test(value) ||
|
||||
/^file:/gi.test(value) ||
|
||||
/^mailspring:/gi.test(value)
|
||||
) {
|
||||
return value;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue