mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-24 02:52:37 +00:00
- In markdown, links are proccessed to be made absolute against the relevant base in that context. Such that `./src` will be transformed into `http://example.com/owner/repo/src/branch/main/src`. - Don't try to make the link absolute if the link has a schema that's defined in `[markdown].CUSTOM_URL_SCHEMES`, because they can't be made absolute and doing so could lead to problems (see test case, double slash was transformed to single slash). - Adds unit test. - Resolves https://codeberg.org/Codeberg/Community/issues/1489 |
||
|---|---|---|
| .. | ||
| callout | ||
| math | ||
| ast.go | ||
| convertyaml.go | ||
| goldmark.go | ||
| markdown.go | ||
| markdown_test.go | ||
| meta.go | ||
| meta_test.go | ||
| renderconfig.go | ||
| renderconfig_test.go | ||
| toc.go | ||