| | 169 | # Check normal urlize |
|---|
| | 170 | >>> urlize('http://google.com') |
|---|
| | 171 | u'<a href="http://google.com" rel="nofollow">http://google.com</a>' |
|---|
| | 172 | |
|---|
| | 173 | >>> urlize('http://google.com/') |
|---|
| | 174 | u'<a href="http://google.com/" rel="nofollow">http://google.com/</a>' |
|---|
| | 175 | |
|---|
| | 176 | >>> urlize('www.google.com') |
|---|
| | 177 | u'<a href="http://www.google.com" rel="nofollow">http://www.google.com</a>' |
|---|
| | 178 | |
|---|
| | 179 | >>> urlize('djangoproject.org') |
|---|
| | 180 | u'<a href="http://djangoproject.org" rel="nofollow">http://djangoproject.org</a>' |
|---|
| | 181 | |
|---|
| | 182 | >>> urlize('info@djangoproject.org') |
|---|
| | 183 | u'<a href="mailto:info@djangoproject.org">info@djangoproject.org</a>' |
|---|
| | 184 | |
|---|
| | 185 | # Check urlize with https addresses |
|---|
| | 186 | >>> urlize('https://google.com') |
|---|
| | 187 | u'<a href="https://google.com" rel="nofollow">https://google.com</a>' |
|---|
| | 188 | |
|---|
| | 189 | |
|---|