Commit d199d92f authored by Andreas Gärtner's avatar Andreas Gärtner

Fix for Task #16379: Rearrange answer option icon in question list.

parent b09835b2
......@@ -72,11 +72,11 @@ Ext.define('ARSnova.view.Question', {
if (ARSnova.app.globalConfig.parseAnswerOptionFormatting) {
var md = Ext.create('ARSnova.view.MathJaxMarkDownPanel');
md.setContent(item.get('text'), true, false, function (html) {
item.set('formattedText', html.getHtml());
item.set('formattedText', '<p>' + html.getHtml() + '</p>');
md.destroy();
});
} else {
item.set('formattedText', Ext.util.Format.htmlEncode(item.get('text')));
item.set('formattedText', '<p>' + Ext.util.Format.htmlEncode(item.get('text')) + '</p>');
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment