summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 9a6ed7a91..97b99d824 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -541,10 +541,6 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$name = $this->_getLinkTitle($name, $url, $isImage);
- // add protocol on simple short URLs
- if(substr($url,0,3) == 'ftp' && (substr($url,0,6) != 'ftp://')) $url = 'ftp://'.$url;
- if(substr($url,0,3) == 'www') $url = 'http://'.$url;
-
if ( !$isImage ) {
$class='urlextern';
} else {