diff options
author | Adrian Lang <lang@cosmocode.de> | 2010-02-08 10:11:11 +0100 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2010-02-08 10:16:35 +0100 |
commit | 6c1f778cae7a02dec2e14017e539d541ce6e74fb (patch) | |
tree | cadef539db845c402c58d1433e995531f3087bbd /inc/parser | |
parent | b965ba797e5c2dff71007ca41e54e5c9bf100429 (diff) | |
download | rpg-6c1f778cae7a02dec2e14017e539d541ce6e74fb.tar.gz rpg-6c1f778cae7a02dec2e14017e539d541ce6e74fb.tar.bz2 |
Fix section editing killing next section
Diffstat (limited to 'inc/parser')
-rw-r--r-- | inc/parser/xhtml.php | 2 |
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 |