diff --git a/library.js b/library.js index b1ef3a0..cbba4bc 100644 --- a/library.js +++ b/library.js @@ -26,15 +26,6 @@ library.addAdminNavigation = function(header, callback) { callback(null, header); }; -library.getTeasers = function(data, callback) { - data.teasers.forEach(function(teaser) { - if (teaser && teaser.content) { - teaser.content = striptags(teaser.content, ['img']); - } - }); - callback(null, data); -}; - library.defineWidgetAreas = function(areas, callback) { areas = areas.concat([ { diff --git a/plugin.json b/plugin.json index e04b86e..d12bce8 100644 --- a/plugin.json +++ b/plugin.json @@ -2,7 +2,6 @@ "id": "nodebb-theme-persona", "library": "library.js", "hooks": [ - { "hook": "filter:teasers.get", "method": "getTeasers" }, { "hook": "filter:widgets.getAreas", "method": "defineWidgetAreas" }, { "hook": "filter:config.get", "method": "getThemeConfig" }, { "hook": "static:app.load", "method": "init" },