Skip to content

Commit

Permalink
fix untitled titles (#9213)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntyukaev authored Dec 14, 2021
1 parent 6b85a0b commit d59945b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/doxyrest/frame/common/doc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ end
function formatDocBlock_heading(block, context)
local text = getDocBlockText(block, context)

if HEADING_TO_RUBRIC then
if HEADING_TO_RUBRIC or not text or text == "" then
return "\n\n.. rubric:: " .. text .. "\n\n"
else
return "\n\n" .. getTitle(text, block.level + 1) .. "\n\n"
Expand Down

0 comments on commit d59945b

Please sign in to comment.