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

Atto HTML Editor generates/Renders bogus HTML

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.7.5
    • Text editor Atto
    • None
    • MOODLE_27_STABLE

      When using the atto editor and either editing, or copy and pasting into the editor, it starts to render random style tags, and other things that look very odd. None of this shows up in the editing mode, only when viewed. Also, clicking "preview" seems to render something differently than when clicking save without previewing. (see screenshots in order)

      I've developed a VERY simple test on qa.moodle.net to reproduce and show ONE EXAMPLE of this problem:

      1) Create a blank HTML wiki
      2) Once the empty wiki is created, click "Edit"
      3) type the following DO NOT COPY (just to prove that it's not an issue of copying metadata from the source): https://test.com
      4) highlight the text, and create a hyperlink using https://test.com as the source. it does not matter whether you check or leave unchecked the "open in new window" checkbox
      5) Place the cursor at the end of the line, and press enter
      6) click the bullet list button, and type "test"
      7) Press "Enter", then click the "Show more buttons" button, then click the indent button and type "test"
      8), press save
      9) you should see the following output shown in image qamoodle.png

        1. qamoodle.png
          qamoodle.png
          4 kB
        2. 5.png
          5.png
          27 kB
        3. 4.png
          4.png
          76 kB
        4. 3.png
          3.png
          62 kB
        5. 2.png
          2.png
          46 kB
        6. 1.png
          1.png
          28 kB

            emerrill Eric Merrill
            moerderin Nick Thompson (Inactive)
            Votes:
            14 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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