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

Lesson answers display HTML tags

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.1
    • 2.1.4, 2.2.1
    • Lesson
    • Linux
    • MySQL
    • MOODLE_21_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide
      1. create lesson activity
      2. add essay question
      3. as student, attempt the lesson activity by putting the following answer:
        <p>test1</p>
        <p>test1</p>
        <p>test1</p>
      4. as teacher, select 'reports' tab
      5. select student's attempt

      Make sure the answer section doesn't contain any html tag

      Show
      create lesson activity add essay question as student, attempt the lesson activity by putting the following answer: <p>test1</p> <p>test1</p> <p>test1</p> as teacher, select 'reports' tab select student's attempt Make sure the answer section doesn't contain any html tag

    Description

      Student answers to lesson question pages display html tags. Please see screenshot for an example.

      Reproduction steps:

      1. Create a lesson which includes a question page.
      2. Log in as a student and submit an answer to the question page which includes some <p></p> tags in the HTML behind the answer.
      3. Log in as a teacher and view the answer from the student.

      The answer will include the <p></p> tags on the page.

      Attachments

        Issue Links

          Activity

            People

              rwijaya Rossiani Wijaya
              mikewilsonuk Mike Wilson
              Adrian Greeve Adrian Greeve
              Sam Hemelryk Sam Hemelryk
              Sam Hemelryk Sam Hemelryk
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jan/12