This PR fixes an issue where combining showLineNumbers{number} with line highlighting would cause the start line number to be highlighted when it shouldn't be.
Included is an expanded test fixture that demonstrates the issue, which can be fixed by using a negative lookbehind in the regex used to find highlighted line numbers in the meta.
This PR fixes an issue where combining
showLineNumbers{number}
with line highlighting would cause the start line number to be highlighted when it shouldn't be.Included is an expanded test fixture that demonstrates the issue, which can be fixed by using a negative lookbehind in the regex used to find highlighted line numbers in the meta.
Before this PR:
After this PR: