summaryrefslogtreecommitdiffstats
path: root/cmd/cert.go
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2022-07-23 19:28:02 +0800
committerGitHub <noreply@github.com>2022-07-23 19:28:02 +0800
commit3310dd1d197495fbfa2d7ee490e19e6d08e1d30f (patch)
tree3903990d31f63fede56b555551796d52d960e018 /cmd/cert.go
parent14178c56bb0fbc8b0b5820539e7681a7defeff47 (diff)
downloadgitea-3310dd1d197495fbfa2d7ee490e19e6d08e1d30f.tar.gz
gitea-3310dd1d197495fbfa2d7ee490e19e6d08e1d30f.zip
Improve code diff highlight, fix incorrect rendered diff result (#19958)
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.
Diffstat (limited to 'cmd/cert.go')
0 files changed, 0 insertions, 0 deletions