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

Behat i_type should normalise newlines

    XMLWordPrintable

Details

    Description

      The following step will behave different between Chrome and Firefox:

          And I type the following text in the "Description" TinyMCE editor:
            """
            This is not important
       
            """
      

      In Chrome, the newline will be treated as a Paragraph tag
      In Firefox it is treated as a Line break.

      The i_type function should swap the "\n" character to a W3C ENTER character string: \xEE\x80\x87.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dobedobedoh Andrew Lyons
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: