mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: <strike>
was no longer whitelisted
This commit is contained in:
parent
e5293f2c9a
commit
4d65370797
2 changed files with 3 additions and 1 deletions
|
@ -149,5 +149,6 @@ whiteListFeature('default', [
|
||||||
'iframe[frameborder]',
|
'iframe[frameborder]',
|
||||||
'iframe[marginheight]',
|
'iframe[marginheight]',
|
||||||
'iframe[marginwidth]',
|
'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("<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() {
|
||||||
|
|
Loading…
Reference in a new issue