Gusted a2442793d2
[BUG] Fix relative links on orgmode
- For regular non-image nonvideo links, they should be made relative,
this was done against `r.Ctx.Links.Base`, but since 637451a45e, that
should instead be done by `SrcLink()` if there's branch information set
in the context, because branch and treepath information are no longer
set in `r.Ctx.Links.Base`.
- This is consistent with how #2166 _fixed_ relative links.
- Media is not affected, `TestRender_Media` test doesn't fail.
- Adds unit tests.
- Ref https://codeberg.org/Codeberg/Community/issues/1485
2024-02-18 21:09:35 +01:00
..
2023-12-19 09:29:05 +00:00
2023-07-07 05:31:56 +00:00
2024-02-05 13:33:58 +01:00
2023-02-11 08:39:50 +08:00
2023-12-25 20:13:18 +08:00
2022-12-30 23:31:00 +08:00
2023-11-03 15:21:05 +00:00