mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
OPML export support (issue #78), import missing for now
This commit is contained in:
@@ -75,6 +75,10 @@ function toObject(array, fn) {
|
||||
return obj;
|
||||
}
|
||||
|
||||
function stripTags(text) {
|
||||
return text.replace(/<(?:.|\n)*?>/gm, '');
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
randomSecureToken,
|
||||
randomString,
|
||||
@@ -88,5 +92,6 @@ module.exports = {
|
||||
sanitizeSql,
|
||||
stopWatch,
|
||||
unescapeHtml,
|
||||
toObject
|
||||
toObject,
|
||||
stripTags
|
||||
};
|
||||
Reference in New Issue
Block a user