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

description meta tag is not run through the multi-lang filter even if filterall is set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.9, 1.9.5
    • 1.8.8, 1.9.4
    • Filters
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • Easy

      in file moodle/index.php lines 113-115 or so are

      print_header($SITE->fullname, $SITE->fullname, 'home', '',
      '<meta name="description" content="'. s(strip_tags($SITE->summary)) .'" />',
      true, '', user_login_string($SITE).$langmenu);

      This creates the meta tag "description" by stripping tags from the site "summary". However, if the summary contains text for multiple languages, this causes all languages to be simply concatenated (not even a space is added). When filterall is set, the content should be run through multilang filter.

            stronk7 Eloy Lafuente (stronk7)
            robek Robert Brenstein
            Petr Skoda Petr Skoda
            Votes:
            0 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.