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

Use CDATA sections in question xml format when required

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.2, 2.0
    • Fix Version/s: 1.9.3, 2.0
    • Component/s: Questions
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      When exporting questions as Moodle XML Format, where required use CDATA sections rather than htmlspecialchars(). Things like Cloze question blocks are unreadable when put through htmlspecialchars() - also it sometimes seems to break xmlize. No action is required for import as this already handles CDATA correctly.

        Attachments

          Activity

            People

            Assignee:
            howardsmiller Howard Miller
            Reporter:
            howardsmiller Howard Miller
            Tester:
            Dongsheng Cai
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Oct/08