Skip to content

Commit

Permalink
fix: highlight line issue for empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed May 13, 2018
1 parent 0f8f7d4 commit bc15841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/markdown/highlightLines.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = md => {
})
if (inRange) {
return {
code: `<span class="highlighted-line">${split}</span>`,
code: `<span class="highlighted-line">${split || '\n'}</span>`,
highlighted: true
}
}
Expand Down

0 comments on commit bc15841

Please sign in to comment.