mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 19:02:20 -05:00
fix html parsing in write
This commit is contained in:
parent
34dea03c5b
commit
f2d380d6d5
@ -125,6 +125,9 @@ define(function(require) {
|
||||
function has(substr) {
|
||||
return (body.indexOf(substr) !== -1);
|
||||
}
|
||||
while (has('<div><br>')) {
|
||||
body = body.replace('<div><br>', '\n');
|
||||
}
|
||||
while (has('<div>')) {
|
||||
body = body.replace('<div>', '\n');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user