Skip to content

Commit

Permalink
support mailto urls
Browse files Browse the repository at this point in the history
  • Loading branch information
jscott1989 committed Jul 1, 2016
1 parent 0a7db26 commit f56e7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/happening/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def externalise_urls(text):
def externalise_url(url):
"""Convert a single URL from internal to external."""
from pages.configuration import ForceSSL
if url.startswith("http"):
if url.startswith("http:") or url.startswith("mailto:"):
# Already absolute
return url

Expand Down

0 comments on commit f56e7b2

Please sign in to comment.