Skip to content

Commit 2d24ffc

Browse files
committed
Resolved a syntax issue with ranges.
1 parent a75f74c commit 2d24ffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/jquery.syntax.brush.xml.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Syntax.register('xml', function(brush) {
3939
brush.push(Syntax.lib.xmlComment);
4040

4141
brush.push({
42-
pattern: /<[^>-\s]([^>'"!-\/;\?@\[\]^`\{\}\|]|"[^"]*"|'[^']')*[\/?]?>/g,
42+
pattern: /<[^>\-\s]([^>'"!\-\/;\?@\[\]^`\{\}\|]|"[^"]*"|'[^']')*[\/?]?>/g,
4343
brush: 'xml-tag'
4444
});
4545

0 commit comments

Comments
 (0)