Skip to content
Snippets Groups Projects
Commit c9250713 authored by Anika Henke's avatar Anika Henke
Browse files

fixed too strict trim (again) and missing class on code by indenting

darcs-hash:20090802120528-f7d6d-5731ec578ce2b6f154bc2dcd7aab150ddf683192.gz
parent 656c8fb3
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment