mirror of
https://github.com/jquery/jquery.git
synced 2026-02-03 09:05:00 -05:00
committed by
Oleg Gaidarenko
parent
abfb10c82e
commit
f19595cef4
@@ -1,4 +1,4 @@
|
||||
define(function() {
|
||||
// Match a standalone tag
|
||||
return (/^<(\w+)\s*\/?>(?:<\/\1>|)$/);
|
||||
return (/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user