Merge pull request #767 from jhollinger/master

Bugfix to setHTML
pull/773/head
John McLear 2012-06-09 08:33:35 -07:00
commit 2f8aa26864
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
var newText = map(result.lines, function (e) {
return e + '\n';
}).join('');
var newText = result.lines.join('\n');
apiLogger.debug('newText:');
apiLogger.debug(newText);
var newAttribs = result.lineAttribs.join('|1+1') + '|1+1';