What is the problem?
The tooltip for the language selector produces weird output.
For example, selecting the "af" language and hovering over with mouse produces:
af – Afrikaans
This appears to be related to the title attribute of the <li> element.
Steps to reproduce problem
- https://ocr-test.wmcloud.org/?langs[]=af
- Hover over the af - Afrikaans element
Expected behavior: Tooltip is af - Afrikaans
Observed behavior: Tooltip is as described above, with weird spacing
Environment
Wikimedia OCR: https://ocr-test.wmcloud.org Version 0.5.0-3-g1bf762c