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

filter_tex: Long notation overflows HTML elements

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.1.10, 4.2.2, 4.2.6, 4.3.1
    • Maths filters
    • MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE

      This may be a limitation of how the filter tex works, generating the image per the equation/formula being used.

      If the notation is long, the generated image will overflow the HTML elements.

      Replication:

      1. Create a quiz.
      2. Add an essay question and attempt or preview it.
      3. Use the following as an answer:
        $$ x\ =\ \frac{\sqrt{144}}{2}\ \times\ (y\ +\ 12) x\ =\ \frac{\sqrt{144}}{2}\ \times\ (y\ +\ 12) x\ =\ \frac{\sqrt{144}}{2}\ \times\ (y\ +\ 12) x\ =\ \frac{\sqrt{144}}{2}\ \times\ (y\ +\ 12) x\ =\ \frac{\sqrt{144}}{2}\ \times\ (y\ +\ 12)$$

      RESULT: The generated formula / image is overflowing.

       

            Unassigned Unassigned
            jebarvia Joshua Ebarvia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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