The apostrophe strikes back!

The apostrophe strikes back!

by Joseph Rézeau -
Number of replies: 1
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi all,

We have already had several threads concerning apostrophe problems in the Quiz forum. Today I found a new issue, in version 1.6+ just updated.

Question type = short answer. Expected student answer contains an apostrophe. If student types expected answer correctly, when pressing Submit, the apostrophe is escaped; however, the answer is considered correct. When student further submits page, the apostrophe is again escaped, resulting in 3 backslashes addedsurprise, and ... the answer is considered Incorrect.sad

See attached screen shot.

Joseph

PS.- Reported as bug # 6338

Attachment image-0000.jpg
Average of ratings: -
In reply to Joseph Rézeau

Re: The apostrophe strikes back!

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Fixed it. I tested it with a question where the right answer was: ' \ \\ \'