0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-03 17:44:44 +01:00
gitea/modules/markup/markdown
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)
2024-02-21 10:08:08 +00:00
..
math
ast.go
convertyaml.go
goldmark.go Refactor markup rendering to accept general "protocol:" prefix (#29276) 2024-02-21 10:08:08 +00:00
markdown.go
markdown_test.go
meta.go
meta_test.go
renderconfig.go
renderconfig_test.go
toc.go Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00