forgejo/modules/markup/markdown
Gusted c67255192e
[GITEA] Fix relative links rendering
- Relative links were not properly being rendered, because the links
were being made absolute against the repository URL instead of
repository URL + /src/branch, which leads to incorrect links.
- Restore the 'old' behaviour. When there's branch information, that
should be used as base for links.
- Adjusts the test cases.
- Regression of 637451a45e
- Resolves https://codeberg.org/Codeberg/Community/issues/1411

(cherry picked from commit 0e9d52e291)
2024-01-22 18:13:43 +00:00
..
math [GITEA] Require Latex code to have a end sequence 2024-01-22 18:13:41 +00:00
ast.go Fix task list checkbox toggle to work with YAML front matter (#25184) 2023-06-13 14:44:47 +08:00
convertyaml.go Improve Wiki TOC (#24137) 2023-04-17 15:05:19 -04:00
goldmark.go [GITEA] Fix relative links rendering 2024-01-22 18:13:43 +00:00
markdown.go Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
markdown_test.go [GITEA] Fix relative links rendering 2024-01-22 18:13:43 +00:00
meta.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
meta_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
renderconfig.go Fix task list checkbox toggle to work with YAML front matter (#25184) 2023-06-13 14:44:47 +08:00
renderconfig_test.go Improve Wiki TOC (#24137) 2023-04-17 15:05:19 -04:00
toc.go Improve Wiki TOC (#24137) 2023-04-17 15:05:19 -04:00