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

Question bank freezes if using word <title> in question text

    XMLWordPrintable

Details

    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-80537_402
    • MDL-80537_403
    • Hide
      1. Go to the question bank.
      2. Create a true-false question with question text "HTML tag like <title> in question text". (Question type does not matter. This text is what you type into the HTML editor, so the actual question text include & lt;title& gt; - spaces added to stop the tracker messing this up.)
      3. In the question bank, set "Show question text in the question list?" to "text only".
      4. Verify that the entire page displays properly.
      Show
      Go to the question bank. Create a true-false question with question text "HTML tag like <title> in question text". (Question type does not matter. This text is what you type into the HTML editor, so the actual question text include & lt;title& gt; - spaces added to stop the tracker messing this up.) In the question bank, set "Show question text in the question list?" to "text only". Verify that the entire page displays properly.

    Description

      Hi,

      we are using Moodle 4.1.4+ and we found a strange issue if someone use the html-tag "<title>" in question text:

      • as a teacher go to question bank
      • create a category "my question"
      • create a multiple choice question in this category
      • type in some question name
      • type in a question text which contains the word <title>
      • save question
      • change to category "my question"
      • change "Show question text in the question list?" to "Yes, text only" --> question bank freezes

      PS: we are using TinyMCE Editor. I did some tests in Moodle 4.1.6+ and the problem still exists. Attached you can find a moodle xml question which causes this problem.

      br, Anton

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              atremetzberger Anton Tremetzberger
              Mark Johnson Mark Johnson
              Huong Nguyen Huong Nguyen
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 15 minutes
                  2h 15m

                  Clockify

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