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) |
||
|---|---|---|
| .. | ||
| asciicast | ||
| common | ||
| console | ||
| csv | ||
| external | ||
| markdown | ||
| mdstripper | ||
| orgmode | ||
| camo_test.go | ||
| camo.go | ||
| html_internal_test.go | ||
| html_test.go | ||
| html.go | ||
| renderer_test.go | ||
| renderer.go | ||
| sanitizer_test.go | ||
| sanitizer.go | ||