mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
workaround for IE8's stupidness, use a \n for new lines
This commit is contained in:
parent
7aae29114b
commit
3ee4fadf8a
2 changed files with 3 additions and 3 deletions
|
@ -75,9 +75,9 @@ $(function(){
|
|||
//indent all lines with the given amount of space
|
||||
var newText = _(text.split("\n")).map(function(line){
|
||||
return space + line;
|
||||
}).join("\n");
|
||||
}).join("\\n");
|
||||
|
||||
$console.text(oldText + newText + "\n");
|
||||
$console.text(oldText + newText + "\\n");
|
||||
}
|
||||
|
||||
runner.on('suite', function(suite){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue