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

Multilang Span tags cleaned from text in Tinymce editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: HTML Editor (TinyMCE)
    • Labels:
      None
    • Environment:
      internet explorer, chrome, safari, firefox
    • Testing Instructions:
      Hide

      1)Create a new course in Moodle - edit the course description using the Tinymce editor.
      2)Toggle to HTML mode and enter <span = "en" class="multilang"> Enter english text </span> <span = "es" class="multilang"> enter Spanish text</span>
      3)Save changes...
      review the HTML code and the span tags have been removed....
      There used to be an option to stop the editor from 'scrubbing' out these things but it does not seem to be available anymore??
      These span tags used to work prior to the upgrade, and I know there is some development being done to Tinymce Editor - but what can be done for existing pages that contain span tags??

      Show
      1)Create a new course in Moodle - edit the course description using the Tinymce editor. 2)Toggle to HTML mode and enter <span = "en" class="multilang"> Enter english text </span> <span = "es" class="multilang"> enter Spanish text</span> 3)Save changes... review the HTML code and the span tags have been removed.... There used to be an option to stop the editor from 'scrubbing' out these things but it does not seem to be available anymore?? These span tags used to work prior to the upgrade, and I know there is some development being done to Tinymce Editor - but what can be done for existing pages that contain span tags??
    • Affected Branches:
      MOODLE_22_STABLE

      Description

      I have recently upgraded to Moodle 2.2.1 Build 20120202 and have noticed that any multilang span tags used in my course descriptions are being cleaned out, resulting in all content of the page being displayed (english,french,spanish). These span tags were working prior to the upgrade.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              moodle.com moodle.com
              Reporter:
              bbear31oz Steven Evans
              Participants:
              Component watchers:
              Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: