-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Discovered while debugging the issue resolved by PR #83 (but it doesn't solve this issue).
In terms of flow, I would like pbh.backticks_to_code_tags(data2) to appear before data.update(data2), but because data.update(data2) has been added manually in every question, we probably need to remove data.update(data2) from all questions, and then add it back in algorithmically, at the same time as pbh.backticks_to_code...
So the final form would look something like:
def generate(data):
...
# The following code is added in by problem bank scripts automatically to
# convert backticks to codeblocks/code fences in answers text.
# This line can be commented out to disable
pbh.backticks_to_code_tags(data)
# End code added in by problem bank scripts
# Update the data object with a new dict
data.update(data2)
def prepare(data):
pass
This will be messy...
Metadata
Metadata
Assignees
Labels
No labels