mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Blacklist <center>
This commit is contained in:
@@ -329,6 +329,7 @@ test("sanitize", function() {
|
||||
"<p><a href=\"http://disneyland.disney.go.com/\">disney</a> <a href=\"http://reddit.com\">reddit</a></p>",
|
||||
"we can embed proper links");
|
||||
|
||||
cooked("<center>hello</center>", "<p>hello</p>", "it does not allow centering");
|
||||
cooked("<table><tr><td>hello</td></tr></table>\nafter", "<p>after</p>", "it does not allow tables");
|
||||
cooked("<blockquote>a\n</blockquote>\n", "<blockquote>a\n\n<br/>\n\n</blockquote>", "it does not double sanitize");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user