Skip to content

Commit

Permalink
Woops, overwrote an intentional change from #5
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Sep 27, 2018
1 parent 3323579 commit 75dab47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/LiquidHighlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class LiquidHighlight {
return this.highlights.getLineMarkup(j, line, classHookClasses);
}.bind(this));

return Promise.resolve(`<pre class="language-${this.language}"><code class="language-${this.language}">` + lines.join("") + "</code></pre>");
return Promise.resolve(`<pre class="language-${this.language}"><code class="language-${this.language}">` + lines.join("<br>") + "</code></pre>");
}
};
};
Expand Down
2 changes: 1 addition & 1 deletion src/markdownSyntaxHighlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ module.exports = function(str, language) {
return highlights.getLineMarkup(j, line);
});

return `<pre class="language-${language}"><code class="language-${language}">${highlightedLines.join("")}</code></pre>`;
return `<pre class="language-${language}"><code class="language-${language}">${highlightedLines.join("<br>")}</code></pre>`;
};

0 comments on commit 75dab47

Please sign in to comment.