diff --git a/src/html-purify.js b/src/html-purify.js
index <HASH>..<HASH> 100755
--- a/src/html-purify.js
+++ b/src/html-purify.js
@@ -156,7 +156,7 @@ See the accompanying LICENSE file for terms.
         that.openedTags = [];
         that.attrVals = {};
         that.hasSelfClosing = 0;
-
+        that.parser.reset();
         that.parser.contextualize(data);
 
         if (that.config.enableTagBalancing) {
reset parser during each purify call