forgejo/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>
2022-02-26 06:45:09 +01:00
..
common Remove unneeded debug messages to stdout. (#18298) 2022-01-16 23:42:06 +08:00
csv Properly determine CSV delimiter (#17459) 2021-10-30 23:50:40 +08:00
external Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 2021-11-30 20:06:32 +00:00
markdown Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
mdstripper A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
orgmode Prevent panic in Org mode HighlightCodeBlock (#17140) 2021-09-24 14:29:32 +01:00
html.go Correctly link URLs to users/repos with dashes, dots or underscores (#18890) (#18908) 2022-02-26 06:45:09 +01:00
html_internal_test.go Fix markdown URL parsing (#17924) 2021-12-11 19:21:36 +02:00
html_test.go Correctly link URLs to users/repos with dashes, dots or underscores (#18890) (#18908) 2022-02-26 06:45:09 +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 Prevent double sanitize (#16386) 2021-11-19 18:46:47 +08:00
sanitizer_test.go Fix data URI scramble (#16098) 2021-06-07 18:55:26 +02:00