Skip to content

Commit

Permalink
Merge pull request thetutlage#1 from bastienGranger/debug/replacePara…
Browse files Browse the repository at this point in the history
…graph

replace <p>...</p> by paragraph markdown syntax
  • Loading branch information
bastienGranger authored Jul 4, 2018
2 parents 79a29dc + f4c6963 commit 4b1abbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formatters.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function replaceOl (doc) {
* @return {String} [description]
*/
function replaceParagraph (doc) {
return makeRegex(pRegex, doc);
return makeRegex(pRegex, doc, null, '\n\n');
}

/**
Expand Down

0 comments on commit 4b1abbf

Please sign in to comment.