diff --git a/index.js b/index.js index 21f50cb..8f50b13 100644 --- a/index.js +++ b/index.js @@ -210,7 +210,7 @@ function getPostSlug(post) { } function getPostTitle(post) { - return post.title[0].trim(); + return post.title[0].trim().replace(/"/g, '\\"'); } function getPostDate(post) {