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

Essay grading page does not display HTML in questions and answers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.7
    • Fix Version/s: None
    • Component/s: Lesson
    • Labels:
      None
    • Affected Branches:
      MOODLE_27_STABLE

      Description

      Teachers can't see essay questions properly when grading (if there is HTML in the question text, for example, image or table).
      There is an issue in the mod/lesson/essay.php(line 404,405): function format_string is used to prepare texts. This function removes all HTML code from the text.

      Since students are able to use WYSIWYG editor for answering the essay questions, format_string function should be changed to format_text function for both question and answer (lines 404 and 405).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              everard NeiL Eldarson
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: