FIX: Whitelist the `big` tag

This commit is contained in:
Robin Ward 2016-07-29 16:11:18 -04:00
parent 919566b33d
commit 9cb8d5d19e
2 changed files with 2 additions and 1 deletions

View File

@ -114,6 +114,7 @@ whiteListFeature('default', [
'aside.quote',
'aside[data-*]',
'b',
'big',
'blockquote',
'br',
'code',

View File

@ -55,7 +55,7 @@ test("sanitize", function() {
cooked(`1 + 1 is <del>3</del> <ins>2</ins>`, `<p>1 + 1 is <del>3</del> <ins>2</ins></p>`);
cooked(`<abbr title="JavaScript">JS</abbr>`, `<p><abbr title="JavaScript">JS</abbr></p>`);
cooked(`<dl><dt>Forum</dt><dd>Software</dd></dl>`, `<dl><dt>Forum</dt><dd>Software</dd></dl>`);
cooked(`<sup>high</sup> <sub>low</sub>`, `<p><sup>high</sup> <sub>low</sub></p>`);
cooked(`<sup>high</sup> <sub>low</sub> <big>HUGE</big>`, `<p><sup>high</sup> <sub>low</sub> <big>HUGE</big></p>`);
});
test("ids on headings", () => {