aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation/var
diff options
context:
space:
mode:
Diffstat (limited to 'src/manipulation/var')
-rw-r--r--src/manipulation/var/rtagName.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manipulation/var/rtagName.js b/src/manipulation/var/rtagName.js
index 9e542694a..1f8751ed8 100644
--- a/src/manipulation/var/rtagName.js
+++ b/src/manipulation/var/rtagName.js
@@ -1,3 +1,3 @@
define( function() {
- return ( /<([\w:-]+)/ );
+ return ( /<([a-z][^\/\0>\x20\t\r\n\f]+)/i );
} );