We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6945c1a commit c63a890Copy full SHA for c63a890
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "dom-renderer",
3
- "version": "2.5.0",
+ "version": "2.5.1",
4
"license": "LGPL-3.0-or-later",
5
"author": "shiy2008@gmail.com",
6
"description": "A light-weight DOM Renderer supports Web components standard & TypeScript language",
source/dist/VDOM.ts
@@ -125,7 +125,7 @@ export class VNode extends VNodeMeta {
125
}
126
yield `</${tagName}>`;
127
} else {
128
- yield ` />`;
+ yield tagName === 'script' ? '></script>' : ' />';
129
130
131
0 commit comments