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

Lesson answers display HTML tags

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.4, 2.2.1
    • Component/s: Lesson
    • Labels:
    • Environment:
      Linux
    • Database:
      MySQL
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    9/Jan/12