summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
authorAdrian Lang <lang@cosmocode.de>2010-02-08 10:11:11 +0100
committerAdrian Lang <lang@cosmocode.de>2010-02-08 10:16:35 +0100
commit6c1f778cae7a02dec2e14017e539d541ce6e74fb (patch)
treecadef539db845c402c58d1433e995531f3087bbd /inc/parser/xhtml.php
parentb965ba797e5c2dff71007ca41e54e5c9bf100429 (diff)
downloadrpg-6c1f778cae7a02dec2e14017e539d541ce6e74fb.tar.gz
rpg-6c1f778cae7a02dec2e14017e539d541ce6e74fb.tar.bz2
Fix section editing killing next section
Diffstat (limited to 'inc/parser/xhtml.php')
-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 ef62a3df9..9de712303 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -167,7 +167,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
if ($level <= $conf['maxseclevel'] &&
count($this->sectionedits) > 0 &&
$this->sectionedits[count($this->sectionedits) - 1][2] === 'section') {
- $this->finishSectionEdit($pos);
+ $this->finishSectionEdit($pos - 1);
}
// write the header