Skip to content

Commit 41c729f

Browse files
committed
Fixed a minor bug with xml brush.
1 parent 56b333a commit 41c729f

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)