mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-31 19:19:00 +08:00
parent
ed7ebb066a
commit
7027b1b74c
1 changed files with 2 additions and 2 deletions
4
vendors/squire/build/squire-raw.js
vendored
4
vendors/squire/build/squire-raw.js
vendored
|
@ -1525,7 +1525,7 @@ const
|
|||
break;
|
||||
}
|
||||
}
|
||||
data = data.replace( /^[ \t\r\n]+/g, sibling ? ' ' : '' );
|
||||
data = data.replace( /^[ \r\n]+/g, sibling ? ' ' : '' );
|
||||
}
|
||||
if ( endsWithWS ) {
|
||||
walker.currentNode = child;
|
||||
|
@ -1540,7 +1540,7 @@ const
|
|||
break;
|
||||
}
|
||||
}
|
||||
data = data.replace( /[ \t\r\n]+$/g, sibling ? ' ' : '' );
|
||||
data = data.replace( /[ \r\n]+$/g, sibling ? ' ' : '' );
|
||||
}
|
||||
if ( data ) {
|
||||
child.data = data;
|
||||
|
|
Loading…
Reference in a new issue