Revert "remove old markdown engine work-in-progress"

This reverts commit ee470b5317.
This commit is contained in:
Sam
2017-07-12 18:10:51 -04:00
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');
});
+1 -1
View File
@@ -18,4 +18,4 @@ QUnit.test("extractByKey: converts a list of hashes into a hash of instances of
QUnit.test("extractByKey: returns an empty hash if there isn't anything to convert", assert => {
assert.deepEqual(Model.extractByKey(), {}, "when called without parameters");
assert.deepEqual(Model.extractByKey([]), {}, "when called with an empty array");
});
});