older versions of blackboard let you put crazy
characters like spaces and apostrophes in blank
IDs. these break imports, so replace them with
dashes.
test plan:
- import a blackboard course containing fill-in-
multiple-blank questions with variable names/
blank ids containing spaces or apostrophes
- edit the quiz, and notice the variable names
should use '-' in place of these
- but the answer text should not be affected
(e.g., they might have a blank named
"[what's this]", expecting the text
"what's this"; with this fix, the variable is
now named "[what-s-this]", but the accepted
text is still "what's this"
- take the quiz, and make sure it's graded
properly
fixes #CNVS-3430
Change-Id: I01abcf290b9233bba7897d9a23f3e3af5cd5896c
Reviewed-on: https://gerrit.instructure.com/17275
Reviewed-by: James Williams <jamesw@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Adam Phillipps <adam@instructure.com>