From 4329e75216398c9bd5057fbc338d715b699af8e5 Mon Sep 17 00:00:00 2001 From: andi Date: Sun, 17 Apr 2005 18:44:02 +0200 Subject: fixed centered images darcs-hash:20050417164402-9977f-9adcdfebccd880952ee2c3ee454faccd5383a705.gz --- inc/parser/xhtml.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'inc/parser') diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 36bfb1e02..71282bd17 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -678,17 +678,14 @@ class Doku_Renderer_XHTML extends Doku_Renderer { list($ext,$mime) = mimetype($src); if(substr($mime,0,5) == 'image'){ //add image tag - $ret .= '__xmlEntities($title).'"'; - - if (!is_null($align)) - $ret .= ' align="'.$align.'"'; #FIXME use class! - if ( !is_null($width) ) $ret .= ' width="'.$this->__xmlEntities($width).'"'; -- cgit v1.2.3