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 a4a6946 commit 8a369caCopy full SHA for 8a369ca
src/index.js
@@ -124,7 +124,8 @@ function resolveComponent(currentSource, context) {
124
*/
125
function parseDOM(source) {
126
// Use recognizeSelfClosing option to handle tags like <spacer />
127
- return htmlparser.parseDOM(source, {recognizeSelfClosing:true});
+ // Disable lowerCaseTags option to avoid turning things like MyComponent to mycomponent
128
+ return htmlparser.parseDOM(source, {recognizeSelfClosing:true, lowerCaseTags: false});
129
}
130
131
/**
0 commit comments