From f978db472850ace51082045603ea78114e1b1aa9 Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sun, 18 Jun 2017 18:42:19 -0400 Subject: [PATCH] fix: blockquote styling regression bug --- server/libs/markdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/libs/markdown.js b/server/libs/markdown.js index d051f9ae..83be36a3 100644 --- a/server/libs/markdown.js +++ b/server/libs/markdown.js @@ -208,7 +208,7 @@ const parseContent = (content) => { // -> Re-attach blockquote styling classes to their parents - cr.root().children('blockquote').each((i, elm) => { + cr('blockquote').each((i, elm) => { if (cr(elm).children().length > 0) { let bqLastChild = cr(elm).children().last()[0] let bqLastChildClasses = cr(bqLastChild).attr('class')