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

Multilang filter doesn't accept different attribute order

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 1.8
    • 1.8
    • Language
    • None
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE

      When creating a new multilang string, only one attribute order is accepted by the regular expression in filter/multilang/filter.php:48 :

      <span lang="en" class="multilang">Blah Blah</span>

      If the order of attributes is changed, the string doesn't get filtered at all.

      The task is to upgrade this regular expression so that the attributes (including any future additional attributes) can be entered by the course creator in any order.

            skodak Petr Skoda
            nicolasconnault Nicolas Connault (Inactive)
            Nicolas Martignoni Nicolas Martignoni
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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