Skip to content

Commit e6f5bcf

Browse files
div not necessary here, we can return Blocks
1 parent 61387d2 commit e6f5bcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/resources/filters/quarto-post/typst-css-property-processing.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ function render_typst_css_property_processing()
315315
aggregate_warnings()
316316
_warnings = nil
317317
if not has_typst_text then return tab end
318-
-- Create Div wrapper and return false to prevent processing its contents
319-
return pandoc.Div({
318+
-- wrap in typst content block and return false to prevent processing its contents
319+
return pandoc.Blocks({
320320
pandoc.RawBlock("typst", "#["),
321321
tab,
322322
pandoc.RawBlock("typst", "]")

0 commit comments

Comments
 (0)