1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 23:54:25 +00:00
gitea/modules/markup/orgmode
Giteabot 93e105a228
fix: rendering internal file links in org (#29669) (#29705)
Backport #29669 by @ankitrgadiya

The internal links to other files in the repository were not rendering
with the Src Prefix (/src/branch-name/file-path). This commit fixes that
by using the `SrcLink` as base if available.

Resolves #29668

Co-authored-by: Ankit R Gadiya <git@argp.in>
2024-03-10 18:29:17 +01:00
..
orgmode_test.go fix: rendering internal file links in org (#29669) (#29705) 2024-03-10 18:29:17 +01:00
orgmode.go fix: rendering internal file links in org (#29669) (#29705) 2024-03-10 18:29:17 +01:00