Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
set break to false for the readme content
Browse files Browse the repository at this point in the history
To follow GitHub's behavior
  • Loading branch information
aminya committed Sep 23, 2020
1 parent a169886 commit 813563e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/package-readme-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default class PackageReadmeView {
container.appendChild(this.packageReadme)
this.element.appendChild(container)

marked(readme || '### No README.', {breaks: true}, (err, content) => {
marked(readme || '### No README.', {breaks: false}, (err, content) => {
if (err) {
this.packageReadme.innerHTML = '<h3>Error parsing README</h3>'
} else {
Expand Down

0 comments on commit 813563e

Please sign in to comment.