I found a bug:
<a href="https://nafo.localhost/mod/quiz/attempt.php?attempt=3632&amp;page=2&lang=en">English(En)</a>
<a href="https://nafo.localhost/mod/quiz/attempt.php?attempt=3632&amp;page=2&lang=no">NORSK-BOKMÅL(NO)</a>
There are double "&amp;". str_replace("&", "&" ... ) function could be a solution. Is there any moodle function or ...?
Thank you