mirror of
https://github.com/go-gitea/gitea
synced 2024-12-29 12:04:28 +00:00
21ed4fd8da
Fix #17514 Given the comments I've adjusted this somewhat. The numbers of characters detected are increased and include things like the use of U+300 to make à instead of à and non-breaking spaces. There is a button which can be used to escape the content to show it. Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Gwyneth Morgan <gwymor@tilde.club> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
12 lines
294 B
Handlebars
12 lines
294 B
Handlebars
<div class="diff-file-box">
|
|
<div class="ui attached table segment">
|
|
<div class="file-body file-code code-view code-diff-unified unicode-escaped">
|
|
<table>
|
|
<tbody>
|
|
{{template "repo/diff/section_unified" dict "file" .File "root" $}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|