Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User-specified alternate answer separator #85

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

davidjabon
Copy link

An issue with the blanks content type is that the answer separator is required to be forward slash (/). This requirement means that answers that need forward slashes (like fractions, for mathematics instruction) are not possible. Through a few very minor changes in the codebase, I propose a version that leaves the forward slash in place as a default but allows users to specify an alternate answer separator. This is a non-breaking change. An alternative would be some kind of escape character, but that is not implemented here. I propose this as a conservative but very helpful improvement.

Added answerSeparator option; updated description to reflect the availability of the option
Add reference to answerSeparator parameter (86 and 725).
Update minorVersion to 13
Update patch version
Change self.params.answerSeparator to this.params.answerSeparator
@otacke
Copy link
Contributor

otacke commented Dec 19, 2021

@davidjabon Just noticed this pull request: You'll have to update translation files as well when you change labels in semantics.json or if you add fields to it. H5P-CLI can help you with that. I am not a member of the H5P core team, but they'd most likely request this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants