forgejo/modules/markup
Alexander Neumann fd273b05b9
Correctly link URLs to users/repos with dashes, dots or underscores (#18890)
* Add tests for references with dashes

This commit adds tests for full URLs referencing repos names and user
names containing a dash.

* Extend regex to match URLs to repos/users with dashes
2022-02-26 00:26:43 +01:00
..
common Update Goldmark to Goldmark 1.4.4 (#18420) 2022-01-29 21:17:21 +08:00
csv format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
external
markdown format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
mdstripper format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
orgmode format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
html.go Correctly link URLs to users/repos with dashes, dots or underscores (#18890) 2022-02-26 00:26:43 +01:00
html_internal_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
html_test.go Correctly link URLs to users/repos with dashes, dots or underscores (#18890) 2022-02-26 00:26:43 +01:00
renderer.go
renderer_test.go
sanitizer.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
sanitizer_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00