Skip to content

Commit

Permalink
Test the full tag
Browse files Browse the repository at this point in the history
  • Loading branch information
yacinehmito committed May 9, 2020
1 parent 0fca9b0 commit f82d053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/jsx.js
Expand Up @@ -6,7 +6,7 @@

const elementType = require('jsx-ast-utils/elementType');

const COMPAT_TAG_REGEX = /^[a-z]|-/;
const COMPAT_TAG_REGEX = /^[a-z]|-$/;

/**
* Checks if a node represents a DOM element.
Expand Down

0 comments on commit f82d053

Please sign in to comment.