Problem with apostrophe

Problem with apostrophe

by François Lizotte -
Number of replies: 4
Picture of Particularly helpful Moodlers

Sorry to post an old problem here. It is similar to this one, reported years ago:

http://moodle.org/mod/forum/discuss.php?d=53582

When a user doesn't respond to a required field in the questionnaire, the form gets reposted, causing a backslash il front of every apostrophe. This of course occurs in a text field.

I was able to fix the bug in the Journal module with "stripslashes".

Is there anyway I could do the same thing in the Questionnaire module?

François

Average of ratings: -
In reply to François Lizotte

Re: Problem with apostrophe

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

François,

Which version of Moodle are you using?

Which type of question are you seing the apostrophe problem in?

If the user has not responded, how can backslashes appear in front of non-existent apostrophes?

Please be more specific so we can help,

Joseph

In reply to Joseph Rézeau

Re: Problem with apostrophe

by François Lizotte -
Picture of Particularly helpful Moodlers

Sorry, I should I been more specific.

I'm using 1.9.12.

Here's a video capture with awful sound ( it's Friday night after all blush).

http://flizotte.ep.profweb.qc.ca/jing/bogue_apostrophe.swf

Merci !

François

In reply to François Lizotte

Re: Problem with apostrophe

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

Thanks for the report. I can confirm the bug. It has been fixed for moodle 2 but not for 1.9. I will investigate and report here.

Joseph

EDIT.- Fixed see CONTRIB-3237.