FIX: Do not allow users to create tables

This commit is contained in:
Robin Ward
2013-10-21 13:32:15 -04:00
parent 7a5c3bfcd8
commit d9a16079a5
2 changed files with 12 additions and 67 deletions
@@ -322,6 +322,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("<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");
});