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 eb60452 commit 8c2674eCopy full SHA for 8c2674e
src/compiler/parser/html-parser.js
@@ -248,12 +248,9 @@ export function parseHTML (html, options) {
248
if (start == null) start = index
249
if (end == null) end = index
250
251
- if (tagName) {
252
- lowerCasedTagName = tagName.toLowerCase()
253
- }
254
-
255
// Find the closest opened tag of the same type
256
if (tagName) {
+ lowerCasedTagName = tagName.toLowerCase()
257
for (pos = stack.length - 1; pos >= 0; pos--) {
258
if (stack[pos].lowerCasedTag === lowerCasedTagName) {
259
break
0 commit comments