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

Bulk messages removes newlines

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 2.4.1
    • Messages
    • None
    • MOODLE_24_STABLE

      When sending a message to multiple participants in a course, line breaks disappear.

      To reproduce the issue:

      • Prepare a course with a teacher and a test student
      • As the teacher, go to the course (e.g. /course/view.php?id=...)
      • Under the navigation block, press "Participants"
      • In the table, tick the test student, and select "send message" in the "With selected users..."-dropdown
      • Enter a message containing linebreaks. (Could be "Dear Students,\nText goes here")
      • Press "preview" followed by "send message"
      • As the test student, read the message
      • Observe that linebreaks in the message are missing: "Dear Students, Text goes here"

      Note: This affects both linebreaks and new paragraphs.

        1. MDL-38174.png
          85 kB
          Luca Bösch
        2. screen1.png
          28 kB
          Mathias Tausen
        3. screen2.png
          21 kB
          Mathias Tausen

            lucaboesch Luca Bösch
            m.tausen Mathias Tausen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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