Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 9deb1f9

Browse files
authored
Merge pull request #921 from bjones1/mchoice-fix
Fix: Avoid duplicate IDs in mchoice questions.
2 parents a5afef7 + 46fc6a4 commit 9deb1f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runestone/assess/multiplechoice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def run(self):
185185
'''
186186

187187
OPTION = '''
188-
<li data-component="answer" %(is_correct)s id="%(divid)s_opt_%(alabel)s">%(atext)s</li><li data-component="feedback" id="%(divid)s_opt_%(alabel)s">%(feedtext)s</li>
188+
<li data-component="answer" %(is_correct)s id="%(divid)s_opt_%(alabel)s">%(atext)s</li><li data-component="feedback">%(feedtext)s</li>
189189
'''
190190

191191
TEMPLATE_END = '''

0 commit comments

Comments
 (0)