Skip to content

Commit

Permalink
Process excludeEnd lexeme as part of mode_buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
isagalaev committed Feb 1, 2016
1 parent daf392d commit 831c461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ https://highlightjs.org/
top = top.parent;
} while (top != end_mode.parent);
if (origin.excludeEnd) {
result += escape(lexeme);
mode_buffer = lexeme;
}
if (end_mode.starts) {
startNewMode(end_mode.starts, '');
Expand Down

0 comments on commit 831c461

Please sign in to comment.