From 487d114ec8ee4299857e20263d6fb03af0c1911f Mon Sep 17 00:00:00 2001 From: Benedict Sobotta Date: Fri, 23 Jun 2017 10:26:47 +0200 Subject: [PATCH] fixed object structure for IE10/IE11 support --- package.json | 2 +- src/striptags.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1cbd2f2..57f0950 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "main": "src/striptags.js", "homepage": "https://github.com/ericnorris/striptags", "bugs": "https://github.com/ericnorris/striptags/issues", - "version": "3.1.1", + "version": "3.1.2", "devDependencies": { "istanbul": "^0.4.5", "mocha": "^3.2.0" diff --git a/src/striptags.js b/src/striptags.js index f449d0e..4953629 100644 --- a/src/striptags.js +++ b/src/striptags.js @@ -38,7 +38,7 @@ return { allowable_tags: parsed_tags.allowable_tags, forbidden_tags: parsed_tags.forbidden_tags, - tag_replacement, + tag_replacement: tag_replacement, state : STATE_PLAINTEXT, tag_buffer : '',