diff options
author | Leonardo Braga <leonardo.braga@gmail.com> | 2015-01-04 17:48:35 -0500 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2015-01-13 07:42:52 +0300 |
commit | 534f13025aeb59a7d5893ce62efafa0b066a4934 (patch) | |
tree | a27b9d3358052ccdc273921c9d9ee74a6bd37a9f /src/core | |
parent | a4133ffafa6ac43b3aa22bc4edb4444b09f5250c (diff) | |
download | jquery-534f13025aeb59a7d5893ce62efafa0b066a4934.tar.gz jquery-534f13025aeb59a7d5893ce62efafa0b066a4934.zip |
Core: add support to tag-hyphenated elements
Ref #1987
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/var/rsingleTag.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/var/rsingleTag.js b/src/core/var/rsingleTag.js index 7e7090b77..a8176dc64 100644 --- a/src/core/var/rsingleTag.js +++ b/src/core/var/rsingleTag.js @@ -1,4 +1,4 @@ define(function() { // Match a standalone tag - return (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); + return (/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/); }); |