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

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.5, 3.10.1, 3.11, 4.0
    • Fix Version/s: None
    • Component/s: Forum, Grading methods
    • Labels:
    • Affected Branches:
      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            tomotsuyuki Tomo Tsuyuki
            Participants:
            Component watchers:
            Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: