mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 18:52:05 +03:00
47692b1081
no issue - the conditional for removal of trailing blank paragraphs was not sufficient to handle paragraphs where the first child element was not a text node such as when the content of the last paragraph is italic - switched to a method that fully walks the DOM of the last paragraph node to extract its equivalent `.textContent` value for use in the "last para is blank?" check |
||
---|---|---|
.. | ||
acceptance | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.json | ||
.jshintrc |