forgejo/modules/markup
Gusted e741d0a068 fix: remove softbreak from github legacy callout
- A softbreak was being preserved during the github legacy callout (this
is likely due to a change in Goldmark) while it should not. This caused
an `<br>` to be present between the attention title and attention content.
- Added unit test.

(cherry picked from commit 216a542bfb)
2024-12-04 23:12:58 +00:00
..
asciicast Fix and refactor markdown rendering (#32522) 2024-11-17 20:50:50 +01:00
common [GITEA] test markdown CleanValue to prevent regression 2024-02-05 16:09:41 +01:00
console Construct screen 2024-09-06 20:24:51 +02:00
csv Fix and refactor markdown rendering (#32522) 2024-11-17 20:50:50 +01:00
external Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
markdown fix: remove softbreak from github legacy callout 2024-12-04 23:12:58 +00:00
mdstripper Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-05-05 08:38:16 +01:00
orgmode Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
tests/repo/repo1_filepreview fix: include last line in file previews with no trailing newline 2024-08-24 17:10:31 -06:00
camo.go Use camo.Always instead of camo.Allways (#32097) 2024-09-27 08:13:30 +00:00
camo_test.go Use camo.Always instead of camo.Allways (#32097) 2024-09-27 08:13:30 +00:00
file_preview.go fix: include last line in file previews with no trailing newline 2024-08-24 17:10:31 -06:00
html.go feat(ui): add more emoji and code block rendering in issues 2024-09-24 14:20:33 +02:00
html_internal_test.go fix: improve PR/issue short link display text 2024-08-22 15:49:05 -06:00
html_test.go fix: include last line in file previews with no trailing newline 2024-08-24 17:10:31 -06:00
renderer.go [CHORE] Remove github.com/yuin/goldmark-meta 2024-07-07 03:18:13 +02:00
renderer_test.go Move IsReadmeFile* from modules/markup/ to modules/util (#22877) 2023-02-13 15:01:09 -05:00
sanitizer.go fix: strict matching of allowed content for sanitizer 2024-11-15 11:32:51 +01:00
sanitizer_test.go disallow javascript: URI in the repository description 2024-08-09 07:04:01 +02:00