FIX: `<strike>` was no longer whitelisted

This commit is contained in:
Robin Ward 2016-07-11 10:28:31 -04:00
parent e5293f2c9a
commit 4d65370797
2 changed files with 3 additions and 1 deletions

View File

@ -149,5 +149,6 @@ whiteListFeature('default', [
'iframe[frameborder]', 'iframe[frameborder]',
'iframe[marginheight]', 'iframe[marginheight]',
'iframe[marginwidth]', 'iframe[marginwidth]',
'kbd' 'kbd',
'strike'
]); ]);

View File

@ -47,6 +47,7 @@ test("sanitize", function() {
cooked("<span class=\"bbcode-s\">a</span>", "<p><span class=\"bbcode-s\">a</span></p>", "it sanitizes spans"); cooked("<span class=\"bbcode-s\">a</span>", "<p><span class=\"bbcode-s\">a</span></p>", "it sanitizes spans");
cooked("<kbd>Ctrl</kbd>+<kbd>C</kbd>", "<p><kbd>Ctrl</kbd>+<kbd>C</kbd></p>"); cooked("<kbd>Ctrl</kbd>+<kbd>C</kbd>", "<p><kbd>Ctrl</kbd>+<kbd>C</kbd></p>");
cooked("it has been <strike>1 day</strike> 0 days since our last test failure", "<p>it has been <strike>1 day</strike> 0 days since our last test failure</p>");
}); });
test("urlAllowed", function() { test("urlAllowed", function() {