gitea/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 Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 2021-11-30 20:06:32 +00:00
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 Prevent double sanitize (#16386) 2021-11-19 18:46:47 +08:00
renderer_test.go A better go code formatter, and now `make fmt` can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
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