OPML export support (issue #78), import missing for now

This commit is contained in:
azivner
2018-05-27 12:26:34 -04:00
parent cab54a458f
commit f47ae12019
6 changed files with 98 additions and 9 deletions

View File

@@ -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
};