Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix compatibility with dokuwiki-2010-11-07. Section edit handling has…

… been moved.
  • Loading branch information...
commit f8245071b6ed180f9941686b516d712fa8c0294f 1 parent c3ee224
@bmolitor bmolitor authored
Showing with 1 addition and 13 deletions.
  1. +1 −13 syntax/header.php
View
14 syntax/header.php
@@ -22,7 +22,7 @@ function getInfo() {
return array(
'author' => 'Gina Häußge, Michael Klier, Esther Brunner',
'email' => 'dokuwiki@chimeric.de',
- 'date' => '2008-02-12',
+ 'date' => '2010-12-01',
'name' => 'Creole Plugin, header component',
'desc' => 'Creole style headers',
'url' => 'http://wiki.splitbrain.org/plugin:creole',
@@ -63,18 +63,6 @@ function handle($match, $state, $pos, &$handler) {
if ($handler->status['section']) $handler->_addCall('section_close', array(), $pos);
- if ($level <= $conf['maxseclevel']) {
- $handler->_addCall('section_edit', array(
- $handler->status['section_edit_start'],
- $pos-1,
- $handler->status['section_edit_level'],
- $handler->status['section_edit_title']
- ), $pos);
- $handler->status['section_edit_start'] = $pos;
- $handler->status['section_edit_level'] = $level;
- $handler->status['section_edit_title'] = $title;
- }
-
$handler->_addCall('header', array($title, $level, $pos), $pos);
$handler->_addCall('section_open', array($level), $pos);

0 comments on commit f824507

Please sign in to comment.
Something went wrong with that request. Please try again.