
Joseph
Hi Shawn, Here is the answer (tested with Moodle 1.6.3).
In file \mod\quiz\attempt.php, towards line 92, change this:
to that:
Joseph
Note.- Of course in the added code lines the X which is added to onload by Moodle on this forum should be removed...
When did you install it? If you installed the current Previous Release Moodle 1.6.3 MOODLE_163 you'll see it's dated 10th October 2006, which if prior to the date when the appostrophe bug was repaired.
Thisi depends on which method you used to install your Moodle. If you use CVS (recommended) then upgrading is very easy. If not, then you might consider going to the Moodle Download page, go down to Previous Stable Branch Moodle 1.6.3+ MOODLE_16_STABLE Built Daily, download the package, unzip it and copy the questiontype.php file to the relevant folder, overwriting the older file there...
As for your "anchor" idea, why don't you post a suggestion in the bugtracker?
Joseph
Alex,
Just tried again some of your questions, including the "livres qu'il voulait" with apostrophe. Works fine for me in 1.6.3 with latest \question\type\multianswer\questiontype.php version.
You shoulde upgrade to the most recent version of that file.
Actually I had reported this problem in bug report MDL-6386 and it was corrected by Tim Hunt on 18/Oct/06 06:02 AM.
Joseph
Hi Alex,
I know there have been problems with the single quote (apostrophe) in the text of the SHORTANSWER sub-questions embedded within CLOZE questions in the Moodle quiz in the past. But I think these problems have been solved now. At least I do not have the behavior you mention in my local installation of Moodle 1.6.3 regularly updated to the latest version available.
What is the version of your file \question\type\multianswer\questiontype.php ? Mine is <?php // $Id: questiontype.php,v 1.7.2.8 2006/11/26 21:59:23 skodak Exp $
I expect you mean the SHORTANSWER sub-questions, because you do not mention this.
Could you describe what happens step-by-step, preferably with screen shots, and a real example of one of your CLOZE questions full text?
Joseph