Closed
Description
- Gitea version (or commit ref): 1.7.1
- Git version: n/a
- Operating system: Windows 10
- Database (use
[x]
):- PostgreSQL
- Can you reproduce the bug at https://try.gitea.io:
- Log gist: n/a
Description
When starting a file with a multiline comment or sometimes multiple lines of comments, syntax highlighting breaks (at least for .ps1 files).
For example, starting a file with one of the following works fine:
# Foo
---
<# Bar #>
---
# Bleh
#
This, however, breaks it:
<# Foo
#>
---
## Bar
##
Activity