summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/parser/parser.php2
-rw-r--r--inc/parser/xhtml.php10
-rw-r--r--tpl/default/design.css8
3 files changed, 10 insertions, 10 deletions
diff --git a/inc/parser/parser.php b/inc/parser/parser.php
index ac1830a23..8c6b7329b 100644
--- a/inc/parser/parser.php
+++ b/inc/parser/parser.php
@@ -201,7 +201,7 @@ class Doku_Parser_Mode_NoToc extends Doku_Parser_Mode {
class Doku_Parser_Mode_Linebreak extends Doku_Parser_Mode {
function connectTo($mode) {
- $this->Lexer->addSpecialPattern('\x5C{2}\s',$mode,'linebreak');
+ $this->Lexer->addSpecialPattern('\x5C{2}(?=\s)',$mode,'linebreak');
}
}
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 41a07e0a9..dba7cb426 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -307,18 +307,12 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$this->doc .= '<pre class="file">' . $this->_xmlEntities($text). '</pre>'. DOKU_LF;
}
- /**
- * @TODO Shouldn't this output <blockquote>?
- */
function quote_open() {
- $this->doc .= '<div class="quote">'.DOKU_LF;
+ $this->doc .= '<blockquote>'.DOKU_LF;
}
- /**
- * @TODO Shouldn't this output </blockquote>?
- */
function quote_close() {
- $this->doc .= '</div>'.DOKU_LF;
+ $this->doc .= '</blockquote>'.DOKU_LF;
}
/**
diff --git a/tpl/default/design.css b/tpl/default/design.css
index 4b1e05bfc..716ef5212 100644
--- a/tpl/default/design.css
+++ b/tpl/default/design.css
@@ -341,6 +341,11 @@ span.li {
font-weight: normal;
}
+ol {list-style-type: decimal}
+ol ol {list-style-type: upper-roman}
+ol ol ol {list-style-type: lower-alpha}
+ol ol ol ol {list-style-type: lower-greek}
+
li.open {
list-style-image: url(images/open.gif);
}
@@ -349,9 +354,10 @@ li.closed {
list-style-image: url(images/closed.gif);
}
-.quote {
+blockquote {
border-left: 2px solid #8cacbb;
padding-left: 3px;
+ margin-left: 0;
}
/* code blocks by indention */