Don't nest paragraphs

pull/458/head
David A Roberts 6 years ago committed by Gijs
parent 68c9af4ffa
commit 72bd1a8532

@ -507,6 +507,8 @@ Readability.prototype = {
}
while (p.lastChild && this._isWhitespace(p.lastChild)) p.removeChild(p.lastChild);
if (p.parentNode.tagName === "P") this._setNodeTag(p.parentNode, "DIV");
}
});
},

Loading…
Cancel
Save