Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3549

Allow any HTML tag in plugins templates

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.9.3
    • 3.9.2
    • Site add-ons
    • Hide

      To test this issue you'll need to modify and install a plugin in a Moodle site.

      1. In a Moodle site, install an existing site plugin (e.g. choicegroup) and use it somewhere accessible by the app.
      2. Edit the main template of the plugin and include some non-standard HTML tags. E.g.:

      <outer>This is a test</outer>

      1. In the app, open the plugin. Check that the plugin is displayed without errors and you can see the text inside the tags.
      Show
      To test this issue you'll need to modify and install a plugin in a Moodle site. In a Moodle site, install an existing site plugin (e.g. choicegroup) and use it somewhere accessible by the app. Edit the main template of the plugin and include some non-standard HTML tags. E.g.: <outer>This is a test</outer> In the app, open the plugin. Check that the plugin is displayed without errors and you can see the text inside the tags.
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Moodle App 3.9.3

      Right now if a plugin adds an HTML tag that isn't "standard" the app displays an error. We should allow using non-standard tags.

      One way to do that is to add the schema NO_ERRORS_SCHEMA when defining the dynamic NgModule in compile provider.

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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