forgejo/modules/markup
Gergely Nagy 8164ef9762
markup: Allow cross references to contain URL query parameters too
Adjust the `anyHashPattern` to match URL query parameters too, and
adjust `fullHashPatternProcessor` accordingly.

Includes a test case, and an update to an existing one to account for
the new capture group.

Fixes #3548.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-05-01 21:14:16 +02:00
..
asciicast
common [GITEA] test markdown CleanValue to prevent regression 2024-02-05 16:09:41 +01:00
console
csv Fix some pending problems (#29985) 2024-03-26 19:04:26 +01:00
external Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
markdown Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
mdstripper
orgmode Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
tests/repo/repo1_filepreview Update test 2024-03-28 04:20:13 +01:00
camo.go
camo_test.go
file_preview.go Fix issue where rendering stops after the first invalid parmalink 2024-04-19 18:21:21 +02:00
html.go markup: Allow cross references to contain URL query parameters too 2024-05-01 21:14:16 +02:00
html_internal_test.go markup: Allow cross references to contain URL query parameters too 2024-05-01 21:14:16 +02:00
html_test.go markup: Allow cross references to contain URL query parameters too 2024-05-01 21:14:16 +02:00
renderer.go Merge pull request 'Render inline file permalinks' (#2669) from Mai-Lapyst/forgejo:markup-add-filepreview into forgejo 2024-04-01 13:57:01 +00:00
renderer_test.go
sanitizer.go [BUG] Center icon and callout text 2024-04-03 22:26:19 +02:00
sanitizer_test.go Use restricted sanitizer for repository description (#28141) 2023-11-23 16:34:25 +00:00