Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3411

Javascript error in Hot Potatoes JQuiz caused by unescaped apostrophe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 1.9.11
    • Module: HotPot
    • None
    • any Moodle
    • Any
    • Moderate
    • MOODLE_19_STABLE

      apostrophe's are not correctly escaped in strings which are used in Hot Potatoes quizzes, for example the "PleaseEnter" string in JQuiz.

      Following thread has an actual example:

      I checked to get a list of all strings used in JavaScript and made sure they are all escaped, and also encoded as JavaScript unicode, e.g. \u0099

            xxxxxxx Gordon Bateson
            xxxxxxx Gordon Bateson
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.