Hi,
I'm trying to update the markdowku plugin to work with the upcoming Hogfather release.
Most problems are simple to fix. However, I'm not sure what to do about the following problem:
A few syntax classes use Doku_Handler
s with a custom interpretSyntax()
function in order to override DokuWiki's built-in rendering:
function handle($match, $state, $pos, Doku_Handler $handler) {
switch ($state) {
case DOKU_LEXER_ENTER:
$ReWriter = new Doku_Handler_Markdown_Ordered_List($handler->callWriter);
Doku_Handler_Markdown_Ordered_List
is a subclass of Doku_Handler_List
which has been replaced by the Lists
class since the last stable release.
However, the $handler->callWriter
attribute is a protected attribute now, so that the code above can no longer access it.
What would be the right approach instead?