mirror of https://github.com/moparisthebest/mail
bugfix detect html in reply
This commit is contained in:
parent
d2565df871
commit
61d97ab145
|
@ -49,7 +49,7 @@
|
|||
var bodyRows = re.get('body').split('\n');
|
||||
var isHtml = false;
|
||||
_.each(bodyRows, function(row) {
|
||||
if (row.indexOf('<') === 0) {
|
||||
if (row.indexOf('</') !== -1) {
|
||||
isHtml = true;
|
||||
}
|
||||
body += (!isHtml) ? '> ' + row + '\n' : '';
|
||||
|
|
Loading…
Reference in New Issue