-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.6.8, 3.8.1, 3.9.3, 3.10, 4.0.5, 4.1, 4.2, 4.4
-
MOODLE_310_STABLE, MOODLE_36_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_404_STABLE
-
MDL-67847-master
-
Yeah, it seems that the titles of results of global search display all languages wrapped with <span lang="XX" class="multilang">your_content_here</span>.
I've been able to reproduce this on Mount Orange:
- Create a course with a multilanguage title, like so:
<span lang="EN" class="multilang">TITLE ENGLISH</span><span lang="RU" class="multilang">TITLE RUSSIAN</span>
- Wait a while for the course to get indexed by global search
- Set language to Russian from the language menu
- Perform a global search for 'TITLE'
Result: TITLE ENGLISHTITLE RUSSIAN is returned as the title of of the page, in both languages but strips the <span>
Expected: TITLE RUSSIAN, i.e only print the Russian <span>
Hopefully I'm not losing my mind and someone else can confirm this behavior.