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
wxiaoguang 6130522aa8
Refactor markup rendering to accept general "protocol:" prefix (#29276)
Follow #29024

Major changes:

* refactor validLinksPattern to fullURLPattern and add comments, now it
accepts "protocol:" prefix
* rename `IsLink*` to `IsFullURL*`, and remove unnecessray "mailto:"
check
* fix some comments (by the way)
* rename EmojiShortCodeRegex -> emojiShortCodeRegex (by the way)
12 months ago
..
asciicast
common
console
csv
external
markdown Refactor markup rendering to accept general "protocol:" prefix (#29276) 12 months ago
mdstripper
orgmode Refactor markup rendering to accept general "protocol:" prefix (#29276) 12 months ago
camo.go
camo_test.go
html.go Refactor markup rendering to accept general "protocol:" prefix (#29276) 12 months ago
html_internal_test.go Add support for sha256 repositories (#23894) 1 year ago
html_test.go Refactor markup rendering to accept general "protocol:" prefix (#29276) 12 months ago
renderer.go
renderer_test.go
sanitizer.go Add alert blocks in markdown (#29121) 1 year ago
sanitizer_test.go