Merge pull request #765 from jhollinger/develop

Fix setHTML in API
This commit is contained in:
John McLear 2012-06-09 08:24:11 -07:00
commit d83e1d5b71

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