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

Commit 2aae87b

Browse files
authored
Merge pull request #1377 from jdeisenberg/minor-changes
Minor changes
2 parents 8bc4876 + 8167b0c commit 2aae87b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

runestone/clickableArea/clickable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ def visit_ca_xml(self, node):
114114
for row in node["runestone_options"]["raw_source"]:
115115
row = row.replace("\n", "")
116116
row = row.replace(":click-correct:", "<area correct='yes'>")
117-
row = row.replace(":click-incorrect:", "<area>")
118-
row = row.replace(":endclick", "</area>")
117+
row = row.replace(":click-incorrect:", "<area correct='no'>") # make explicit
118+
row = row.replace(":endclick:", "</area>") # eliminate final colon as well
119119
row = "<cline>" + row + "</cline>\n"
120120
res += row
121121
self.output.append(res)

runestone/mchoice/multiplechoice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def visit_answers_bullet_xml(self, node):
410410

411411

412412
def depart_answers_bullet_xml(self, node):
413-
self.output.append("</choice>")
413+
self.output.append("</choices>")
414414

415415

416416
# Write out the special attributes needed by the ``<li>`` tag.

0 commit comments

Comments
 (0)