mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +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 |
||
---|---|---|
.. | ||
common | ||
fs | ||
image | ||
mobiledoc | ||
promise | ||
security | ||
social | ||
ghost-version_spec.js | ||
request_spec.js |