summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2009-08-02 14:05:28 +0200
committerAnika Henke <anika@selfthinker.org>2009-08-02 14:05:28 +0200
commitc925071366129ad9cb201196678d93f01aae4eca (patch)
tree4e3d5b3aafceccdbb5855be512d176d9f41ab3cf /inc/parser
parent656c8fb3f2b288d406251fc93d9eb0ca774a3141 (diff)
downloadrpg-c925071366129ad9cb201196678d93f01aae4eca.tar.gz
rpg-c925071366129ad9cb201196678d93f01aae4eca.tar.bz2
fixed too strict trim (again) and missing class on code by indenting
darcs-hash:20090802120528-f7d6d-5731ec578ce2b6f154bc2dcd7aab150ddf683192.gz
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/xhtml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index a47ceb5eb..e75fcb4c7 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -367,7 +367,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
}
function preformatted($text) {
- $this->doc .= '<pre class="'.$class.'">' . trim($this->_xmlEntities($text)) . '</pre>'. DOKU_LF;
+ $this->doc .= '<pre class="code">' . trim($this->_xmlEntities($text),"\n\r") . '</pre>'. DOKU_LF;
}
function file($text, $language=null, $filename=null) {