Skip to content

Commit a901c06

Browse files
committed
check common tag for element directives
1 parent 5c5d2c3 commit a901c06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/compile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@ function makePropsLinkFn (props) {
561561

562562
function checkElementDirectives (el, options) {
563563
var tag = el.tagName.toLowerCase()
564+
if (_.commonTagRE.test(tag)) return
564565
var def = resolveAsset(options, 'elementDirectives', tag)
565566
if (def) {
566567
return makeTerminalNodeLinkFn(el, tag, '', options, def)

0 commit comments

Comments
 (0)