gitea/modules/markup
silverwind aba87285f0
Remove dead code identified by `deadcode` tool (#37271)
Ran [`deadcode`](https://pkg.go.dev/golang.org/x/tools/cmd/deadcode)
(`-test ./...`) to find functions, methods and error types unreachable
from any call path (including tests), and removed the truly-dead ones.

Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
2026-04-20 07:52:48 +00:00
..
asciicast Support rendering OpenAPI spec (#36449) 2026-01-26 10:34:38 +08:00
common Fix various trivial problems (#36921) 2026-03-19 07:13:55 +08:00
console Support rendering OpenAPI spec (#36449) 2026-01-26 10:34:38 +08:00
csv Support rendering OpenAPI spec (#36449) 2026-01-26 10:34:38 +08:00
external Frontend iframe renderer framework: 3D models, OpenAPI (#37233) 2026-04-17 22:30:17 +00:00
internal Make external iframe render work (#35730) 2025-10-23 08:01:38 +00:00
markdown Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
mdstripper Fix markup heading parsing, fix emphasis parsing (#36284) 2026-01-23 20:24:58 +00:00
orgmode Refactor highlight and diff (#36599) 2026-02-13 00:15:46 +00:00
camo.go Fix URLJoin, markup render link reoslving, sign-in/up/linkaccount page common data (#36861) 2026-03-08 15:57:37 +00:00
camo_test.go
html.go Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
html_codepreview.go
html_codepreview_test.go
html_commit.go Fix URLJoin, markup render link reoslving, sign-in/up/linkaccount page common data (#36861) 2026-03-08 15:57:37 +00:00
html_email.go Valid email address should only start with alphanumeric (#28174) 2025-04-20 19:18:14 +08:00
html_emoji.go Avoid emoji mismatch and allow to only enable chosen emojis (#35692) 2025-10-19 13:06:45 -07:00
html_internal_test.go Remove `util.URLJoin` and replace all callers with direct path concatenation (#36867) 2026-03-09 02:30:54 +08:00
html_issue.go Fix URLJoin, markup render link reoslving, sign-in/up/linkaccount page common data (#36861) 2026-03-08 15:57:37 +00:00
html_issue_test.go Fix footnote jump behavior on the issue page. (#34621) 2025-06-09 17:18:11 +00:00
html_link.go Fix URLJoin, markup render link reoslving, sign-in/up/linkaccount page common data (#36861) 2026-03-08 15:57:37 +00:00
html_mention.go Fix URLJoin, markup render link reoslving, sign-in/up/linkaccount page common data (#36861) 2026-03-08 15:57:37 +00:00
html_node.go Fix markup heading parsing, fix emphasis parsing (#36284) 2026-01-23 20:24:58 +00:00
html_node_test.go fix: generate IDs for HTML headings without id attribute (#36233) 2026-01-06 05:09:44 +00:00
html_test.go Remove `util.URLJoin` and replace all callers with direct path concatenation (#36867) 2026-03-09 02:30:54 +08:00
html_toc_test.go Fix markup heading parsing, fix emphasis parsing (#36284) 2026-01-23 20:24:58 +00:00
main_test.go Support rendering OpenAPI spec (#36449) 2026-01-26 10:34:38 +08:00
render.go Frontend iframe renderer framework: 3D models, OpenAPI (#37233) 2026-04-17 22:30:17 +00:00
render_helper.go Refactor markup render to fix various path problems (#34114) 2025-04-04 23:45:23 +08:00
render_link.go Fix URLJoin, markup render link reoslving, sign-in/up/linkaccount page common data (#36861) 2026-03-08 15:57:37 +00:00
render_link_test.go Fix URLJoin, markup render link reoslving, sign-in/up/linkaccount page common data (#36861) 2026-03-08 15:57:37 +00:00
render_test.go Frontend iframe renderer framework: 3D models, OpenAPI (#37233) 2026-04-17 22:30:17 +00:00
renderer.go Support rendering OpenAPI spec (#36449) 2026-01-26 10:34:38 +08:00
sanitizer.go
sanitizer_custom.go
sanitizer_default.go Fix various legacy problems (#37092) 2026-04-03 12:19:04 +00:00
sanitizer_default_test.go Fix various legacy problems (#37092) 2026-04-03 12:19:04 +00:00
sanitizer_description.go
sanitizer_description_test.go Fix link/origin referrer and login redirect (#36279) 2026-01-03 11:43:04 +08:00