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

Multilang filter and non-XHTML markup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: 1.9
    • Component/s: HTML Editor (TinyMCE)
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_14_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      If the text to be filtered is not well-formed XML, the multilang filter will fail.

      I came up with a hack to solve this issue on http://moodle.org/mod/forum/discuss.php?d=11667#61274, but a better alternative would probably be to filter everything through tidy when saving - which would require another library to be compiled in.

      I'd be very interested in what you think about this.

        Attachments

          Activity

            People

            Assignee:
            scyrma Mathieu Petit-Clair
            Reporter:
            imported Imported
            Tester:
            Nobody
            Participants:
            Component watchers:
            Andrew Nicols, Dongsheng Cai, Huong Nguyen, 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:
              3/Mar/08