mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
FIX: Allow div align
This commit is contained in:
parent
e7e6840803
commit
7dd4470075
2 changed files with 3 additions and 0 deletions
|
@ -107,6 +107,7 @@ whiteListFeature('default', [
|
|||
'div',
|
||||
'div.title',
|
||||
'div.quote-controls',
|
||||
'div[align]',
|
||||
'i',
|
||||
'b',
|
||||
'ul',
|
||||
|
|
|
@ -48,6 +48,8 @@ test("sanitize", function() {
|
|||
|
||||
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>");
|
||||
|
||||
cooked(`<div align="center">hello</div>`, `<div align="center">hello</div>`);
|
||||
});
|
||||
|
||||
test("ids on headings", () => {
|
||||
|
|
Loading…
Reference in a new issue