Skip to content

Commit

Permalink
Attempts fix for #673.
Browse files Browse the repository at this point in the history
Make renderer::header comptible with Doku_Renderer_xhtml::header($text, $level, $pos, $returnonly = false)
  • Loading branch information
turnermm committed Jul 4, 2022
1 parent eab916d commit caae552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer.php
Expand Up @@ -65,7 +65,7 @@ function getFormat()
/*
* The standard xhtml renderer adds anchors we do not need.
*/
function header($text, $level, $pos) {
function header($text, $level, $pos, $returnonly = false) {
// write the header
$this->doc .= DOKU_LF.'<h'.$level.'>';
$this->doc .= $this->_xmlEntities($text);
Expand Down

0 comments on commit caae552

Please sign in to comment.