diff options
author | Christian A. Weber | 2014-08-11 15:43:40 +0200 |
---|---|---|
committer | Christian A. Weber | 2014-08-11 15:43:40 +0200 |
commit | 9f45fb61ccd24be600fde3a84dcd63ec2ba6f67b (patch) | |
tree | 2843003ee1629c957d89f1d21f47449a6c57f84a /it_html.class | |
parent | 6688ddbd65983239d28ea8b1da5e70030ae88c6f (diff) | |
download | itools-9f45fb61ccd24be600fde3a84dcd63ec2ba6f67b.tar.gz itools-9f45fb61ccd24be600fde3a84dcd63ec2ba6f67b.tar.bz2 itools-9f45fb61ccd24be600fde3a84dcd63ec2ba6f67b.zip |
add support for mailto: URLs
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_html.class b/it_html.class index f02b540..923facb 100644 --- a/it_html.class +++ b/it_html.class @@ -538,7 +538,7 @@ static function U(/* ... */) ($u['host'] ? $u['host'] : "") . ($u['port'] ? ":" . intval($u['port']) : ""); - $schemepart = $hostpart ? ($u['scheme'] ? $u['scheme'] . ":" : "") . "//$hostpart" : ""; + $schemepart = $hostpart ? ($u['scheme'] ? $u['scheme'] . ":" : "") . "//$hostpart" : ($u['scheme'] == "mailto" ? $u['scheme'] . ":" : ""); $path = $u['path'] . ($u['query'] ? "?" . $u['query'] : "") . ($u['fragment'] ? "#" . $u['fragment'] : ""); |