<br> tag is added instead of the empty lines

This commit is contained in:
Arminkhodaei 2019-06-17 00:06:24 +04:30
parent e792f2dfb2
commit 9afbb520da

View File

@ -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 (