Skip to content

Commit

Permalink
Merge pull request pomber#137 from Arminkhodaei/master
Browse files Browse the repository at this point in the history
<br> tag is added instead of the empty lines
  • Loading branch information
pomber authored Jun 19, 2019
2 parents e792f2d + 9afbb52 commit 92387fd
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 92387fd

Please sign in to comment.