Trim everything

This commit is contained in:
Will Boyd
2019-12-18 16:36:43 -05:00
parent e0f7764554
commit b3bd05211e
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ function initTurndownService() {
}
function getPostContent(post, turndownService, config) {
let content = post.encoded[0].trim();
let content = post.encoded[0];
// insert an empty div element between double line breaks
// this nifty trick causes turndown to keep adjacent paragraphs separated