Closed
Description
- Gitea version (or commit ref): 1.9.0+dev-217-g91c2c237f
- Git version: 2.21.0
- Operating system: Arch Linux
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
Hello,
as per title: In blame view, if you comment some line after the first line of a chain, the syntax highlighting is broken to the end of file. Tried with php and java files.
here are examples:
https://try.gitea.io/TbHG1AUy7x7vkj10/test-blame-bug/blame/branch/master/HelloWorld.java
https://try.gitea.io/TbHG1AUy7x7vkj10/test-blame-bug/blame/branch/master/index.php
Screenshots
https://i.imgur.com/XcvSXpS.png
https://i.imgur.com/ISWfM76.png