Rewrite quiz logic to be more robust

Fixes #470
This commit is contained in:
Aaron O'Mullan
2014-10-13 15:50:12 +02:00
parent d730a3aac6
commit 676b2287ee
2 changed files with 70 additions and 33 deletions
+1 -1
View File
@@ -127,6 +127,6 @@ describe('Section parsing', function() {
it('should not have false positive quiz parsing', function() {
var LEXED = loadPage('FALSE_QUIZ');
assert.not.equal(LEXED[0].type, 'quiz');
assert.equal(LEXED[0].type, 'normal');
});
});