Bugfix to setPadHTML. resolves #764

This commit is contained in:
Jordan Hollinger 2012-06-09 10:53:51 -04:00
parent dc678a458f
commit d5faefdeae
1 changed files with 1 additions and 3 deletions

View File

@ -50,9 +50,7 @@ function setPadHTML(pad, html, callback)
} }
// Get the new plain text and its attributes // Get the new plain text and its attributes
var newText = map(result.lines, function (e) { var newText = result.lines.join('\n');
return e + '\n';
}).join('');
apiLogger.debug('newText:'); apiLogger.debug('newText:');
apiLogger.debug(newText); apiLogger.debug(newText);
var newAttribs = result.lineAttribs.join('|1+1') + '|1+1'; var newAttribs = result.lineAttribs.join('|1+1') + '|1+1';