mirror of
https://github.com/fastmail/Squire.git
synced 2025-02-23 15:26:07 -05:00
Previously, we were just removing <br>s that didn't have siblings on both sides. A better test is whether the containing block has any non-whitespace text content. If it does, the <br> is a line break and we can just split the block. If it doesn't though, we need to leave the <br> as a placeholder, to ensure the block doesn't collapse to 0 height. |
||
---|---|---|
.. | ||
document.html | ||
ie8.js | ||
squire.js |