Skip to content

Commit

Permalink
<br> tag is added instead of the empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Arminkhodaei committed Jun 16, 2019
1 parent e792f2d commit 9afbb52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/slide.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function getLine(line, i, { styles }) {
style={Object.assign({ overflow: "hidden", height: "15px" }, style)}
key={line.key}
>
{!line.tokens.length && <br />}
{line.tokens.map((token, i) => {
const style = themeStylesByType[token.type] || {};
return (
Expand Down

0 comments on commit 9afbb52

Please sign in to comment.