forgejo/modules/markup
Gusted 2ed825c5be
[GITEA] Fix orgmode link resolver for text descriptions
- It's possible that the description of an `Regularlink` is `Text` and not
another `Regularlink`. Therefor if it's `Text`, convert it to an
`Regularlink` trough the 'old' behavior (pass it trough `org.String` and
trim `file:` prefix).
- Adds unit tests.
- Resolves https://codeberg.org/Codeberg/Community/issues/1430

(cherry picked from commit 385fc6ee6b)
2024-02-05 16:57:56 +01:00
..
asciicast
common [GITEA] test markdown CleanValue to prevent regression 2024-02-05 16:09:41 +01:00
console
csv
external
markdown [GITEA] Add footnote testing 2024-02-05 16:09:41 +01:00
mdstripper
orgmode [GITEA] Fix orgmode link resolver for text descriptions 2024-02-05 16:57:56 +01:00
camo.go
camo_test.go
html.go
html_internal_test.go
html_test.go
renderer.go
renderer_test.go
sanitizer.go
sanitizer_test.go