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

BR tag is appeared in "Additional comments" when teacher makes comments with multiple lines

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 3.9.5, 3.10.1, 3.11, 4.0
    • Forum, Grading methods
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE

    Description

      When teacher makes "Grade" with multiple lines in "Additional comments", "<br />" is added after saved the comments.
      Same comments with "<br />" can be seen by student.

      Step to reproduce the issue:

      1. Create a course.
      2. Create a forum activity.
      3. In "Whole forum grading" setting in the forum activity, Set
        Grade Type: Point
        Maximum grade: 100
        Grading method: Marking guide
      4. Go to "Advanced grading" page, from cog icon in forum page.
      5. Click "Define new grading form from scratch" and create grading form.
      6. Login as student, make a forum post.
      7. Login as teacher, click "Grade users", and add "Additional comments" with multiple lines comments, and "Save".
      8. Go other screen by ">" button and back by "<" button. The "Additional comments" have some "<br />" in the comments.
        Login as student, click "View grades" button to see the grade. There is also "<br />" in the comments.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tomotsuyuki Tomo Tsuyuki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Clockify

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