You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
9 months ago
..
asciicast Support asciicast files as new markup (#22448) 2 years ago
common Make `user-content-* ` consistent with github (#26388) 2 years ago
console Add context when rendering labels or emojis (#23281) 2 years ago
csv Add `MAX_ROWS` option for CSV rendering (#30268) 10 months ago
external Rework markup link rendering (#26745) 1 year ago
markdown Refactor to use UnsafeStringToBytes (#31358) 9 months ago
mdstripper Resolve lint for unused parameter and unnecessary type arguments (#30750) 11 months ago
orgmode fix: rendering internal file links in org (#29669) 1 year ago
camo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
camo_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
html.go Fix hash render end with colon (#31319) 9 months ago
html_codepreview.go Refactor AppURL usage (#30885) 11 months ago
html_codepreview_test.go Render embedded code preview by permlink in markdown (#30234) 12 months ago
html_internal_test.go Fix hash render end with colon (#31319) 9 months ago
html_test.go Make pasted "img" tag has the same behavior as markdown image (#31235) 10 months ago
main_test.go Use repo as of renderctx's member rather than a repoPath on metas (#29222) 10 months ago
renderer.go Make pasted "img" tag has the same behavior as markdown image (#31235) 10 months ago
renderer_test.go Move `IsReadmeFile*` from `modules/markup/` to `modules/util` (#22877) 2 years ago
sanitizer.go Split sanitizer functions and fine-tune some tests (#31192) 10 months ago
sanitizer_custom.go Split sanitizer functions and fine-tune some tests (#31192) 10 months ago
sanitizer_default.go Split sanitizer functions and fine-tune some tests (#31192) 10 months ago
sanitizer_default_test.go Split sanitizer functions and fine-tune some tests (#31192) 10 months ago
sanitizer_description.go Split sanitizer functions and fine-tune some tests (#31192) 10 months ago
sanitizer_description_test.go Split sanitizer functions and fine-tune some tests (#31192) 10 months ago