Skip to content

Commit 4b81322

Browse files
committed
fix: return empty element as suggested
1 parent 900b34c commit 4b81322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/filters/quarto-pre/shortcodes-handlers.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ function handlePagebreak()
310310
if FORMAT == 'docx' then
311311
return pandoc.RawBlock('openxml', pagebreak.ooxml)
312312
elseif FORMAT == 'pptx' then
313-
return pandoc.Para{pandoc.Str ''}
313+
return {}
314314
elseif FORMAT:match 'latex' then
315315
return pandoc.RawBlock('tex', pagebreak.latex)
316316
elseif FORMAT:match 'odt' then

0 commit comments

Comments
 (0)