Skip to content

Commit

Permalink
Method signature in renderer compatible with Igor
Browse files Browse the repository at this point in the history
  • Loading branch information
annda committed Nov 30, 2022
1 parent 0e9d426 commit 7557b9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ function document_end(){
*
* 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
Expand Down

0 comments on commit 7557b9b

Please sign in to comment.