0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-20 10:28:23 +01:00
gitea/modules/markup
Oleksandr Redko 1761459ebc
Refactor to use UnsafeStringToBytes (#31358)
The PR replaces all `goldmark/util.BytesToReadOnlyString` with
`util.UnsafeBytesToString`, `goldmark/util.StringToReadOnlyBytes` with
`util.UnsafeStringToBytes`. This removes one `TODO`.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-06-14 01:26:33 +00:00
..
asciicast
common
console
csv Add MAX_ROWS option for CSV rendering (#30268) 2024-06-06 16:06:59 +08:00
external
markdown Refactor to use UnsafeStringToBytes (#31358) 2024-06-14 01:26:33 +00:00
mdstripper
orgmode
camo_test.go
camo.go
html_codepreview_test.go
html_codepreview.go
html_internal_test.go Fix hash render end with colon (#31319) 2024-06-12 22:35:46 +00:00
html_test.go Make pasted "img" tag has the same behavior as markdown image (#31235) 2024-06-04 12:19:41 +00:00
html.go Fix hash render end with colon (#31319) 2024-06-12 22:35:46 +00:00
main_test.go
renderer_test.go
renderer.go Make pasted "img" tag has the same behavior as markdown image (#31235) 2024-06-04 12:19:41 +00:00
sanitizer_custom.go Split sanitizer functions and fine-tune some tests (#31192) 2024-05-31 13:26:01 +00:00
sanitizer_default_test.go Split sanitizer functions and fine-tune some tests (#31192) 2024-05-31 13:26:01 +00:00
sanitizer_default.go Split sanitizer functions and fine-tune some tests (#31192) 2024-05-31 13:26:01 +00:00
sanitizer_description_test.go Split sanitizer functions and fine-tune some tests (#31192) 2024-05-31 13:26:01 +00:00
sanitizer_description.go Split sanitizer functions and fine-tune some tests (#31192) 2024-05-31 13:26:01 +00:00
sanitizer.go Split sanitizer functions and fine-tune some tests (#31192) 2024-05-31 13:26:01 +00:00