From 69ddc3329189ee8067c883ad680a04ebd335d1a2 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Thu, 16 Jul 2009 01:37:29 +0200 Subject: fixed too strict trim on non-parsed blocks darcs-hash:20090715233729-f7d6d-44fc39da1eb65d138e7987f90c613b10978652f8.gz --- inc/parser/xhtml.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/parser/xhtml.php') diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index d9e3e784e..7777490a1 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -358,11 +358,11 @@ class Doku_Renderer_xhtml extends Doku_Renderer { } function preformatted($text) { - $this->doc .= '
' . trim($this->_xmlEntities($text)) . '
'. DOKU_LF; + $this->doc .= '
' . trim($this->_xmlEntities($text),"\n\r") . '
'. DOKU_LF; } function file($text) { - $this->doc .= '
' . trim($this->_xmlEntities($text)). '
'. DOKU_LF; + $this->doc .= '
' . trim($this->_xmlEntities($text),"\n\r"). '
'. DOKU_LF; } function quote_open() { -- cgit v1.2.3