From bb89e627b0d3b83d7be7f825022e96ca399ea5ce Mon Sep 17 00:00:00 2001 From: Patrick Steele-Idem Date: Thu, 14 Jan 2016 10:13:29 -0700 Subject: [PATCH] Marko v3: Make tag def lookup case-insensitive --- compiler/taglib-lookup/TaglibLookup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/taglib-lookup/TaglibLookup.js b/compiler/taglib-lookup/TaglibLookup.js index 9d2d9a7aa..81d88b19c 100644 --- a/compiler/taglib-lookup/TaglibLookup.js +++ b/compiler/taglib-lookup/TaglibLookup.js @@ -154,7 +154,7 @@ class TaglibLookup { } var tagName = element.tagName; - return tags[tagName]; + return tags[tagName.toLowerCase()]; } getAttribute(element, attr) { @@ -235,7 +235,7 @@ class TaglibLookup { }; } - var tagName = element.tagName; + var tagName = element.tagName.toLowerCase(); /* * If the node is an element node then we need to find all matching * transformers based on the URI and the local name of the element.