Closed a-kempka closed 1 year ago
@a-kempka Thanks for the report, please apply https://github.com/gjb2048/moodle-filter_synhi/commit/c4947181dab95e6705ce06da16d070053c85a1d5 and confirm it fixes it for you.
Thank you for the quick fix. Umlauts don't interfere with SynHi now.
@a-kempka Thanks for letting me know.
Describe the bug using non latin characters such as ä ö ü ß breaks code highlighting
To Reproduce Steps to reproduce the behaviour:
The code and pre tag are highlighted as well. The more umlauts you insert, the more characters of the parts after the code are displayed, i.e. the closing tags (code and pre) are highlighted and break the subsequent HTML.
Expected behaviour The code highlighting should end at "sum)"
Screenshots![image](https://user-images.githubusercontent.com/53858701/230385841-3837aa1d-af99-4fac-a106-1a0147306d23.png)
Versions (please complete the following information):