Add strip html filter

This commit is contained in:
Suraj Shetty
2018-08-27 20:31:29 +05:30
parent a4dcb6f548
commit 49c37d5a8e
2 changed files with 5 additions and 1 deletions

View File

@@ -60,3 +60,7 @@ Vue.directive('img-src', {
handleImage(el, binding.value);
}
});
Vue.filter('striphtml', function (text) {
return strip_html(text);
});