Skip to content

Commit

Permalink
fix: return empty element as suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil committed Jan 20, 2025
1 parent 900b34c commit 4b81322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/filters/quarto-pre/shortcodes-handlers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ function handlePagebreak()
if FORMAT == 'docx' then
return pandoc.RawBlock('openxml', pagebreak.ooxml)
elseif FORMAT == 'pptx' then
return pandoc.Para{pandoc.Str ''}
return {}
elseif FORMAT:match 'latex' then
return pandoc.RawBlock('tex', pagebreak.latex)
elseif FORMAT:match 'odt' then
Expand Down

0 comments on commit 4b81322

Please sign in to comment.