mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Revert "remove old markdown engine work-in-progress"
This reverts commit ee470b5317
.
This commit is contained in:
parent
bcbb9f208d
commit
79a084dd58
62 changed files with 3075 additions and 653 deletions
|
@ -42,6 +42,9 @@ QUnit.assert.cookedPara = function(input, expected, message) {
|
|||
};
|
||||
|
||||
QUnit.test("buildOptions", assert => {
|
||||
assert.ok(buildOptions({ siteSettings: { allow_html_tables: true } }).features.table, 'tables enabled');
|
||||
assert.ok(!buildOptions({ siteSettings: { allow_html_tables: false } }).features.table, 'tables disabled');
|
||||
|
||||
assert.ok(buildOptions({ siteSettings: { enable_emoji: true } }).features.emoji, 'emoji enabled');
|
||||
assert.ok(!buildOptions({ siteSettings: { enable_emoji: false } }).features.emoji, 'emoji disabled');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue