diff options
author | Pat Lathem <patl@codero.com> | 2015-11-02 14:30:31 -0600 |
---|---|---|
committer | Pat Lathem <patl@codero.com> | 2015-11-02 14:30:31 -0600 |
commit | 9f3dcbaa87be8693249892e74580af1a7f7f2140 (patch) | |
tree | 3bd223512cb70bef154ecb4e669ee678d67c98be | |
parent | f1a14433675972b2abf7b530529d377f3ac6cd9b (diff) | |
download | chat-9f3dcbaa87be8693249892e74580af1a7f7f2140.tar.gz chat-9f3dcbaa87be8693249892e74580af1a7f7f2140.tar.bz2 chat-9f3dcbaa87be8693249892e74580af1a7f7f2140.zip |
go fmt textgeneration.go
-rw-r--r-- | utils/textgeneration.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/textgeneration.go b/utils/textgeneration.go index 6ef6d64e3..2497d7dd4 100644 --- a/utils/textgeneration.go +++ b/utils/textgeneration.go @@ -196,14 +196,14 @@ test@example.com [example link](example.com) links to ` + "`" + `http://example.com` + "`" + ` [example.com](example.com) links to ` + "`" + `http://example.com` + "`" + ` [example.com/other](example.com) links to ` + "`" + `http://example.com` + "`" + ` -[example.com/other_link](example.com/example) links to `+ "`" + `http://example.com/example`+ "`" + ` +[example.com/other_link](example.com/example) links to ` + "`" + `http://example.com/example` + "`" + ` www.example.com links to ` + "`" + `http://www.example.com` + "`" + ` https://example.com links to ` + "`" + `https://example.com` + "`" + `and not ` + "`" + `http://example.com` + "`" + ` https://en.wikipedia.org/wiki/🐬 links to the Wikipedia article on dolphins https://en.wikipedia.org/wiki/URLs#Syntax links to the Syntax section of the Wikipedia article on URLs test@example.com links to ` + "`" + `mailto:test@example.com` + "`" + ` [email link](mailto:test@example.com) links to ` + "`" + `mailto:test@example.com` + "`" + `and not ` + "`" + `http://mailto:test@example.com` + "`" + ` -[other link](ts3server://example.com) links to `+ "`" + `ts3server://example.com` + "`" + `and not ` + "`" + `http://ts3server://example.com` + "`" + ` +[other link](ts3server://example.com) links to ` + "`" + `ts3server://example.com` + "`" + `and not ` + "`" + `http://ts3server://example.com` + "`" + ` #### should not be turned into links: example.com |