What happens if you exchange the above expression by the following one?
<div>Lupaan ryhdistäytyä lähiaikoina.</div>
This indeed solves the problem occuring in
Version 2.1.15 (442df9d6)
Qt 5.12.1 PyQt 5.11.3
Thank you very much!
I also had other HTML errors on other cards which involve JS. After not finding anything possibly wrong with the HTML I finally figured out that the evaluation order must have changed. Anki 2.0 tolerated expressions such as