mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
cleanup
This commit is contained in:
@@ -302,10 +302,6 @@ function filterAttributeName(name) {
|
||||
return name.replace(/[^\p{L}\p{N}_:]/ug, "");
|
||||
}
|
||||
|
||||
function wrapText(text, start, length, prefix, suffix) {
|
||||
return text.substring(0, start) + prefix + text.substr(start, length) + suffix + text.substring(start + length);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
randomSecureToken,
|
||||
randomString,
|
||||
@@ -340,6 +336,5 @@ module.exports = {
|
||||
deferred,
|
||||
removeDiacritic,
|
||||
normalize,
|
||||
filterAttributeName,
|
||||
wrapText
|
||||
filterAttributeName
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user