Skip to content

Commit

Permalink
run MathJax on part feedback in the testing tab
Browse files Browse the repository at this point in the history
  • Loading branch information
christianp committed Sep 13, 2023
1 parent c78d8b9 commit 9f715af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/templates/question/edit_part.html
Expand Up @@ -158,7 +158,7 @@ <h4>Test that the marking algorithm works</h4>
<section class="last-run-feedback" data-bind="if: last_run() && last_run().message_displays">
<h5>Feedback</h5>
<ul class="list-unstyled" data-bind="foreach: last_run().message_displays">
<li class="feedbackMessage" data-bind="attr: {'data-credit-change': credit_change}"><span data-bind="css: 'feedback-icon glyphicon '+icon" aria-hidden="true"></span> <!-- ko if: format=='html' --><span data-bind="dom: message"></span><!-- /ko --><!-- ko if: format=='string' --><span class="message" data-bind="html: message"></span><!-- /ko --></li>
<li class="feedbackMessage" data-bind="attr: {'data-credit-change': credit_change}"><span data-bind="css: 'feedback-icon glyphicon '+icon" aria-hidden="true"></span> <!-- ko if: format=='html' --><span data-bind="dom: message"></span><!-- /ko --><!-- ko if: format=='string' --><span class="message" data-bind="html: message, latex: message"></span><!-- /ko --></li>
</ul>
<p><strong>Score:</strong> <span data-bind="text: last_run().score"></span></p>
</section>
Expand Down

0 comments on commit 9f715af

Please sign in to comment.