mirror of
https://github.com/go-gitea/gitea
synced 2024-11-02 16:24:25 +00:00
3310dd1d19
Use Unicode placeholders to replace HTML tags and HTML entities first, then do diff, then recover the HTML tags and HTML entities. Now the code diff with highlight has stable behavior, and won't emit broken tags. |
||
---|---|---|
.. | ||
testdata/academic-module | ||
csv_test.go | ||
csv.go | ||
gitdiff_test.go | ||
gitdiff.go | ||
highlightdiff_test.go | ||
highlightdiff.go | ||
main_test.go |