mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
Code style fix
This commit is contained in:
parent
cdb57ebda0
commit
9f258f2561
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ const fixContainer = (
|
|||
root: Element | DocumentFragment,
|
||||
): Node => {
|
||||
let wrapper: HTMLElement | null = null;
|
||||
[...container.childNodes].forEach(child => {
|
||||
[...container.childNodes].forEach((child) => {
|
||||
const isBR = child.nodeName === 'BR';
|
||||
if (!isBR && isInline(child)) {
|
||||
if (!wrapper) {
|
||||
|
|
Loading…
Reference in a new issue