mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 16:36:15 -04:00
[fix] Remove extra whitespace on helper tests for IE
This commit is contained in:
parent
15cda0fde6
commit
2b96a961e3
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ describe("the test helper", function(){
|
||||||
return text
|
return text
|
||||||
// IE replaces line breaks with a whitespace, so we need to unify its behavior
|
// IE replaces line breaks with a whitespace, so we need to unify its behavior
|
||||||
// for other browsers, to have all tests running for all browsers
|
// for other browsers, to have all tests running for all browsers
|
||||||
.replace(/\n/gi, " ")
|
.replace(/\n/gi, "")
|
||||||
.replace(/\s/gi, " ");
|
.replace(/\s/gi, " ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue