structured-fw 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,7 +103,9 @@ export class HTMLParser {
103
103
  throw this.error(`Found closing tag ${this.tokenCurrent}, expected ${this.context.tagName}`);
104
104
  }
105
105
  this.context = this.context.parentNode || this.fragment;
106
- this.state = 'idle';
106
+ this.state = 'text';
107
+ this.tokenCurrent = '';
108
+ return true;
107
109
  }
108
110
  this.tokenCurrent += char;
109
111
  }
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "license": "MIT",
20
20
  "type": "module",
21
21
  "main": "build/index",
22
- "version": "1.0.3",
22
+ "version": "1.0.4",
23
23
  "scripts": {
24
24
  "develop": "tsc --watch",
25
25
  "startDev": "cd build && nodemon --watch '../app/**/*' --watch '../build/**/*' -e js,html,css index.js",