bugfix detect html in reply

This commit is contained in:
Tankred Hase 2013-05-06 10:56:15 +02:00
parent d2565df871
commit 61d97ab145
1 changed files with 1 additions and 1 deletions

View File

@ -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' : '';