X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=node_modules%2Funderscore.string%2FstripTags.js;fp=node_modules%2Funderscore.string%2FstripTags.js;h=8948d3699998ee3c7d84d181efbc902996f3b105;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/node_modules/underscore.string/stripTags.js b/node_modules/underscore.string/stripTags.js new file mode 100644 index 000000000..8948d3699 --- /dev/null +++ b/node_modules/underscore.string/stripTags.js @@ -0,0 +1,5 @@ +var makeString = require('./helper/makeString'); + +module.exports = function stripTags(str) { + return makeString(str).replace(/<\/?[^>]+>/g, ''); +};