Method signature in renderer compatible with Igor

This commit is contained in:
Anna Dabrowska
2022-11-30 20:10:59 +01:00
parent 0e9d426bde
commit 7557b9bca7
+2 -1
View File
@@ -123,7 +123,8 @@ class renderer_plugin_s5 extends Doku_Renderer_xhtml {
*
* A new slide is started for each H2 header
*/
function header($text, $level, $pos) {
public function header($text, $level, $pos, $returnonly = false) {
if($level == 1){
if(!$this->slideopen){
$this->s5_init($text); // this is the first slide