mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
parent
78e294e98e
commit
564afd96f2
1 changed files with 2 additions and 1 deletions
3
vendors/squire/build/squire-raw.js
vendored
3
vendors/squire/build/squire-raw.js
vendored
|
|
@ -282,7 +282,8 @@ const
|
||||||
// Recursively examine container nodes and wrap any inline children.
|
// Recursively examine container nodes and wrap any inline children.
|
||||||
fixContainer = (container, root) => {
|
fixContainer = (container, root) => {
|
||||||
let wrapper, isBR;
|
let wrapper, isBR;
|
||||||
[...container.children].forEach(child => {
|
// Not live, and fast
|
||||||
|
[...container.childNodes].forEach(child => {
|
||||||
isBR = child.nodeName === 'BR';
|
isBR = child.nodeName === 'BR';
|
||||||
if (!isBR && isInline(child)
|
if (!isBR && isInline(child)
|
||||||
// && (blockTag !== 'DIV' || (child.matches && !child.matches(phrasingElements)))
|
// && (blockTag !== 'DIV' || (child.matches && !child.matches(phrasingElements)))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue