Needs review
Project:
Cloze
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 May 2013 at 08:38 UTC
Updated:
5 Feb 2014 at 13:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sivaji_ganesh_jojodae commentedAre you entering the answer with white space?
Noticed myself that only in such case evaluation is happening wrong.
Anyway this is to be fixed.
Comment #2
sivaji_ganesh_jojodae commentedAttaching the patch if anyone would need it for patching with drush or simiar.
Comment #3
sivaji_ganesh_jojodae commentedCommitted the above patch. That should resolve this.
Comment #5
nstillblue commentedThank you for your patch and commit, it's working now, but a new problem has arisen. I can no longer use < strong > tags in my questions, this breaks the cloze question...
Comment #6
sivaji_ganesh_jojodae commented@nstillblue, I will see if I can fix that. In the meantime can you please provide the question text to reproduce the issue?
Comment #7
nstillblue commentede.g. < strong > this < /strong > is a [test]
causes the cloze textfield not to show up when viewing the question.
The same problem occurs with < em > tags, but I can use < br > tags.
There is no problem for questions without tags:
e.g. this is a [test]
Comment #8
nstillblue commentedAny progress on this issue?
Comment #9
tostinni commentedThis patch also apply for D6 although it fails on some non useful parts, so it would be nice to apply it to D6 too.
Thanks.
Comment #10
mikran commentedHere is a patch that fixes the issue raised in comments #5 and #7. Basically any text containing '/' caused an error.