mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
remove trailing whitespaces ❤️
This commit is contained in:
parent
b50e0536c7
commit
cafc75b238
383 changed files with 4220 additions and 2221 deletions
|
@ -4,7 +4,7 @@ describe("sanitize", function(){
|
|||
|
||||
|
||||
it("strips all script tags", function(){
|
||||
var sanitized = sanitizeHtml("<div><script>alert('hi');</script></div>");
|
||||
var sanitized = sanitizeHtml("<div><script>alert('hi');</script></div>");
|
||||
|
||||
expect(sanitized)
|
||||
.toBe("<div></div>");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue