append http:// if missing before links (getting title didn't work well without

This commit is contained in:
lookshe 2014-05-27 19:48:57 +02:00
parent decb6e9f94
commit c5e05d88d4

View file

@ -56,6 +56,10 @@ foreach act_arg $arg {
# Check length of URL
set length [string length $url]
if {[string match "www.*" $url] == 1} {
set url "http://$url"
}
if {$length >= $url_length} {
#set tinyurl [make_tinyurl $url]