FIX: `<strike>` was no longer whitelisted
This commit is contained in:
parent
e5293f2c9a
commit
4d65370797
|
@ -149,5 +149,6 @@ whiteListFeature('default', [
|
|||
'iframe[frameborder]',
|
||||
'iframe[marginheight]',
|
||||
'iframe[marginwidth]',
|
||||
'kbd'
|
||||
'kbd',
|
||||
'strike'
|
||||
]);
|
||||
|
|
|
@ -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("<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() {
|
||||
|
|
Loading…
Reference in New Issue