mirror of https://github.com/go-gitea/gitea.git
Fix #33358, fix #21970 This adds a step in the `GitDiffForRender` that does syntax highlighting for the entire file and then only references lines from that syntax highlighted code. This allows things like multi-line comments to be syntax highlighted correctly. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
||
---|---|---|
.. | ||
csv.go | ||
csv_test.go | ||
git_diff_tree.go | ||
git_diff_tree_test.go | ||
gitdiff.go | ||
gitdiff_test.go | ||
highlightdiff.go | ||
highlightdiff_test.go | ||
main_test.go | ||
submodule.go | ||
submodule_test.go |