Lexer->addSpecialPattern('~~NOFOOTER~~',$mode,'plugin_footer'); } function handle($match, $state, $pos, Doku_Handler $handler){ $match = str_replace("~~NOFOOTER~~", '', $match); } } ?>