diff --git a/compiler/TemplateCompiler.js b/compiler/TemplateCompiler.js index ad7fd9373..6a718fd71 100644 --- a/compiler/TemplateCompiler.js +++ b/compiler/TemplateCompiler.js @@ -166,6 +166,7 @@ TemplateCompiler.prototype = { createTagHandlerNode: function (tagName) { var tag = this.taglibs.getTag(tagName); var tagHandlerNode = this.createNode(TagHandlerNode, tag); + tagHandlerNode.localName = tagName; return tagHandlerNode; }, convertType: function (value, type, allowExpressions) {