mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #1339
This commit is contained in:
parent
e9ad4e38c2
commit
f8d990a25f
1 changed files with 1 additions and 1 deletions
2
vendors/squire/build/squire-raw.js
vendored
2
vendors/squire/build/squire-raw.js
vendored
|
|
@ -268,7 +268,7 @@ const
|
|||
// Not live, and fast
|
||||
[...container.childNodes].forEach(child => {
|
||||
isBR = child.nodeName === 'BR';
|
||||
if (!isBR && isInline(child)
|
||||
if (!isBR && child.parentNode == root && isInline(child)
|
||||
// && (blockTag !== 'DIV' || (child.matches && !child.matches(phrasingElements)))
|
||||
) {
|
||||
wrapper = wrapper || createElement('div');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue