fix: blockquote styling regression bug

This commit is contained in:
NGPixel 2017-06-18 18:42:19 -04:00 committed by Nicolas Giard
parent 5312f5320a
commit f978db4728

View File

@ -208,7 +208,7 @@ const parseContent = (content) => {
// -> Re-attach blockquote styling classes to their parents // -> 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) { if (cr(elm).children().length > 0) {
let bqLastChild = cr(elm).children().last()[0] let bqLastChild = cr(elm).children().last()[0]
let bqLastChildClasses = cr(bqLastChild).attr('class') let bqLastChildClasses = cr(bqLastChild).attr('class')