Skip to content

Commit

Permalink
div not necessary here, we can return Blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonwoodhull committed Oct 23, 2024
1 parent 61387d2 commit 5c2d9e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ function render_typst_css_property_processing()
aggregate_warnings()
_warnings = nil
if not has_typst_text then return tab end
-- Create Div wrapper and return false to prevent processing its contents
return pandoc.Div({
-- wrap in typst content block and return false to prevent processing its contents
return pandoc.Blocks({
pandoc.RawBlock("typst", "#["),
tab,
pandoc.RawBlock("typst", "]")
Expand Down

0 comments on commit 5c2d9e4

Please sign in to comment.