You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/markup
silverwind ce75461380
Correctly link URLs to users/repos with dashes, dots or underscores (#18890) (#18908)
* 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

Co-authored-by: Alexander Neumann <62751754+rtpt-alexanderneumann@users.noreply.github.com>
3 years ago
..
common Remove unneeded debug messages to stdout. (#18298) 3 years ago
csv Properly determine CSV delimiter (#17459) 3 years ago
external Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
markdown Simplify parameter types (#18006) 3 years ago
mdstripper A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
orgmode Prevent panic in Org mode HighlightCodeBlock (#17140) 3 years ago
html.go Correctly link URLs to users/repos with dashes, dots or underscores (#18890) (#18908) 3 years ago
html_internal_test.go Fix markdown URL parsing (#17924) 3 years ago
html_test.go Correctly link URLs to users/repos with dashes, dots or underscores (#18890) (#18908) 3 years ago
renderer.go Prevent double sanitize (#16386) 3 years ago
renderer_test.go A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
sanitizer.go Prevent double sanitize (#16386) 3 years ago
sanitizer_test.go Fix data URI scramble (#16098) 4 years ago