fix comment

This commit is contained in:
Gerrit Uitslag
2023-10-25 19:51:32 +02:00
committed by GitHub
parent b8f0fccd2c
commit 5aaf6fd4ab

View File

@ -72,9 +72,10 @@ class renderer_plugin_dw2pdf extends Doku_Renderer_xhtml
*/ */
public function header($text, $level, $pos, $returnonly = false) public function header($text, $level, $pos, $returnonly = false)
{ {
//skip empty headlines
if (!$text) { if (!$text) {
return; return;
} //skip empty headlines }
global $ID; global $ID;
$hid = $this->_headerToLink($text, true); $hid = $this->_headerToLink($text, true);