6 lines
149 B
JavaScript
6 lines
149 B
JavaScript
![]() |
var makeString = require('./helper/makeString');
|
||
|
|
||
|
module.exports = function stripTags(str) {
|
||
|
return makeString(str).replace(/<\/?[^>]+>/g, '');
|
||
|
};
|