Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-5485

Short answer with special characters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: Lesson
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_16_STABLE

      Description

      Creating a question page of type short answer, If I use some special character (I tried (, ) and %, but probably many others), the text inserted is not correctly compared; this is probably caused by the use of RegExp in the parsing; to resolve the problem I inserted backslash in the correct answer, like this:

      Il costo complessivo è di € 10,00 (inclusa iva 20%)

      Moreover, the use of jolly character * doesn't works: it has to be replaced by the use of the RegExp string (.*)

      I think that the software should do these replaces.

      File: http://moodle.cvs.sourceforge.net/moodle/moodle/mod/lesson/action/continue.php

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: