0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-02 09:45:19 +01:00
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
csv
external
markdown
mdstripper
orgmode
html_internal_test.go
html_test.go Correctly link URLs to users/repos with dashes, dots or underscores (#18890) 2022-02-26 00:26:43 +01:00
html.go Correctly link URLs to users/repos with dashes, dots or underscores (#18890) 2022-02-26 00:26:43 +01:00
renderer_test.go
renderer.go
sanitizer_test.go
sanitizer.go