Comparing version 2.0.3 to 2.0.4
module.exports = require('./src/striptags'); |
@@ -12,3 +12,3 @@ { | ||
"bugs": "https://github.com/ericnorris/striptags/issues", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"devDependencies": { | ||
@@ -15,0 +15,0 @@ "blanket": "~1.1.6", |
# striptags [![Build Status](https://travis-ci.org/ericnorris/striptags.svg)](https://travis-ci.org/ericnorris/striptags) | ||
A fast implementation of PHP's [strip_tags](http://www.php.net/manual/en/function.strip-tags.php) in Node.js. | ||
An implementation of PHP's [strip_tags](http://www.php.net/manual/en/function.strip-tags.php) in Node.js. | ||
@@ -4,0 +4,0 @@ ## Features |
@@ -11,3 +11,4 @@ 'use strict'; | ||
function striptags(html, allowableTags) { | ||
var state = STATE_OUTPUT, | ||
var html = html || '', | ||
state = STATE_OUTPUT, | ||
depth = 0, | ||
@@ -14,0 +15,0 @@ output = '', |
@@ -0,0 +0,0 @@ 'use strict'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
286
14634