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

atto_equation (MathJax) does not work with HTMLtidy filter enabled

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_27_STABLE

      Description

      When both filters are both "on" and are actually in effect, then MathJax filter does not work. There are 2 case scenarios.
      1) Mathjax filter is configured higher in the order of filters (ie. above HTMLtidy), then the formulas are not rendered at all.
      2) Mathjax filter is configured lower in the order of filters (ie. below HTMLtidy), then the formulas are rendered, but it is not possible to enter formulas in the equation editor as the HTMLtidy filters out the key HTML5 attributes "data-tex" in the ajax post.

      When testing this please doublecheck that the HTMLtidy filter is really active in the PHP info page and actual HTML output (ie. the PHP PECL extension installed) as it is not indicated anywhere else in the Moodle (See MDL-47531).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                complicator Pavel Krejci
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Ryan Wyllie, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: