From da9f31c579b1d16d9a1a27ff627fa4e68a70531f Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Wed, 24 Jan 2007 11:13:06 +0100 Subject: moved simple URL handling from renderer to handler darcs-hash:20070124101306-6e07b-f3b325915c5b379c5ec8ae3bcf21943be1942e83.gz --- inc/parser/xhtml.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'inc/parser/xhtml.php') 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 { -- cgit v1.2.3