forked from highlightjs/highlight.js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(parser) fixes sublanguage with no rule matches (highlightjs#2506)
* fix(parser) fixes sublanguage with no rule matches Resolves highlightjs#2504.
- Loading branch information
1 parent
51906fb
commit 376659a
Showing
4 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<span class="hljs-tag"><<span class="hljs-name">script</span>></span>foo();<span class="hljs-tag"></<span class="hljs-name">script</span>></span> | ||
<span class="hljs-tag"><<span class="hljs-name">script</span>></span>booger<span class="hljs-tag"></<span class="hljs-name">script</span>></span> | ||
<span class="hljs-tag"><<span class="hljs-name">script</span>></span>hjk<span class="hljs-tag"></<span class="hljs-name">script</span>></span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<script>foo();</script> | ||
<script>booger</script> | ||
<script>hjk</script> |