djplaner / moodle-mod_bim

A Moodle activity module the provides support for managing/marking individual student blogs hosted on external services.
http://davidtjones.wordpress.com/research/bam-blog-aggregation-management/
7 stars 2 forks source link

Escaping quotes in the Description of a new question #24

Closed markpea closed 14 years ago

markpea commented 14 years ago

What a student sees when opening Details about this activity : range of questions: Title Description Stream of consciousness Write a \\"stream of consciousness\\" piece about your life at Earlham. Progress at Earlham Write a posting about the \'progressive\' nature of the Earlham community

Extra escape quotes \ get added to the description text every time a new question is added by the instructor. This could quickly build up to pain-in-the-neck levels :-)

djplaner commented 14 years ago

Ahh, yes I did not understand the appropriate use of addslashes. This has been fixed.