Skip to content

Commit

Permalink
fix(xml) char immediately following tag close mis-highlighted (highli…
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Mar 17, 2021
1 parent e83656c commit 3ec4c1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ New Languages:

Language grammar improvements:

- fix(ruby) fix `defined?()` mishighlighted as `def` (#3025) [Josh Goebel][]
- fix(xml) char immediately following tag close mis-highlighted (#3044) [Josh Goebel][]
- fix(ruby) fix `defined?()` mis-highlighted as `def` (#3025) [Josh Goebel][]
- fix(c) comments after `#include <str>` blocks (#3041) [Josh Goebel][]
- fix(cpp) comments after `#include <str>` blocks (#3041) [Josh Goebel][]
- enh(cpp) Highlight all function dispatches (#3005) [Josh Goebel][]
Expand Down
3 changes: 2 additions & 1 deletion src/languages/xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ export default function(hljs) {
{
className: 'name',
begin: TAG_NAME_RE,
relevance: 0
relevance: 0,
endsParent: true
},
{
begin: />/,
Expand Down

0 comments on commit 3ec4c1e

Please sign in to comment.