0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-28 18:32:58 +01:00
gitea/modules/charset
wxiaoguang f3eb835886
Refactor locale&string&template related code (#29165)
Clarify when "string" should be used (and be escaped), and when
"template.HTML" should be used (no need to escape)

And help PRs like  #29059 , to render the error messages correctly.
2024-02-14 21:48:45 +00:00
..
ambiguous Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
invisible Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
ambiguous.go
ambiguous_gen.go
ambiguous_gen_test.go
breakwriter.go
breakwriter_test.go
charset.go Preserve BOM in web editor (#28935) 2024-01-27 18:02:51 +00:00
charset_test.go Preserve BOM in web editor (#28935) 2024-01-27 18:02:51 +00:00
escape.go Add option to disable ambiguous unicode characters detection (#28454) 2023-12-17 14:38:54 +00:00
escape_status.go
escape_stream.go Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
escape_test.go Add option to disable ambiguous unicode characters detection (#28454) 2023-12-17 14:38:54 +00:00
htmlstream.go
invisible_gen.go