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

forum_post_emaildigestbasic_htmlemail.mustache shows an error in the template library.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.1
    • Forum, Libraries
    • MOODLE_31_STABLE
    • wip-MDL-53582-master
    • Hide
      1. Go to [ Site administration  ► Development  ► Template library] and click on the "mod_forum/forum_post_emaildigestbasic_htmlemail" link.
      2. You should not see a popup with an error. Instead you should see the template in the example.
      Show
      Go to [ Site administration  ► Development  ► Template library] and click on the "mod_forum/forum_post_emaildigestbasic_htmlemail" link. You should not see a popup with an error. Instead you should see the template in the example.

      When you click on the preview of forum_post_emaildigestbasic_htmlemail.mustache you get an error pop up saying Unexpected token _

      Seems to be a problem with using \ when escaping the double quotes.

      I've provided a patch.

            Unassigned Unassigned
            abgreeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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