mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 08:54:17 -05:00
2242a9f82e
This improves the SHA1 link detection to not pick up extraneous non-whitespace characters at the end of the URL. The '.' is a special case handled in code itself because of missing regexp lookahead support. Regex test cases: https://regex101.com/r/xUMlqh/3 |
||
---|---|---|
.. | ||
csv | ||
external | ||
markdown | ||
orgmode | ||
html.go | ||
html_internal_test.go | ||
html_test.go | ||
markup.go | ||
markup_test.go | ||
sanitizer.go | ||
sanitizer_test.go |