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

Allow "Mathjax" and "Display emoticons as images" filter together, have "y(n)" not breaking

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.4.4, 3.5.1
    • 3.3.6, 3.4.3, 3.5
    • Filters
    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MDL-61732-master
    • Hide
      • Enable "Mathjax" and "Display emoticons as images" filter to your page, in "Manage filters" admin/filters.php having them apply to content, place the "Display emoticons as images" filter under the "Mathjax" filter.
      • Go to a course.
      • Insert a label, fill it with an

        y(n)


        expression

        \( y(n) \)

        .

      • Insert a label, fill it with an

        y(t)


        expression

        \( y(t) \)

        .

      • Cross check the

        y(n)


        expression is not breaking and is not displayed as a "thumb down" emoticon.

      Show
      Enable "Mathjax" and "Display emoticons as images" filter to your page, in "Manage filters" admin/filters.php having them apply to content, place the "Display emoticons as images" filter under the "Mathjax" filter. Go to a course. Insert a label, fill it with an y(n) expression \( y(n) \) . Insert a label, fill it with an y(t) expression \( y(t) \) . Cross check the y(n) expression is not breaking and is not displayed as a "thumb down" emoticon.

      When both "Mathjax" and "Display emoticons as images" filter are activated, some Mathjax expressions do break, because they are processed by the "Display emoticons as images" filter later on. The one mentioned in this issue's title is an example.

      Steps to replicate:

      • Enable "Mathjax" and "Display emoticons as images" filter to your page, in "Manage filters" admin/filters.php having them apply to content, place the "Display emoticons as images" filter under the "Mathjax" filter.
      • Go to a course.
      • Insert a label, fill it with an

        y(n)


        expression

        \( y(n) \)

        .

      • Insert a label, fill it with an

        y(t)


        expression

        \( y(t) \)

        .

      • Note that the

        y(n)


        expression is breaking since the

        (n)

        is displayed as a "thumb down" emoticon. The y(t) though, converts correctly.

            phish108 Christian Glahn
            lucaboesch Luca Bösch
            Jan Dageförde Jan Dageförde
            Jake Dallimore Jake Dallimore
            Gladys Basiana Gladys Basiana
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 8 minutes
                8m

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