File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/resources/filters/customnodes Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,8 @@ function _callout_main()
264264 return _quarto .format .typst .function_call (" callout" , {
265265 { " body" , _quarto .format .typst .as_typst_content (callout .content ) },
266266 { " title" , _quarto .format .typst .as_typst_content (
267- callout .title or pandoc .Plain (_quarto .modules .callouts .displayName (callout .type ))
267+ (_quarto .utils .is_empty_node (callout .title ) and callout .title ) or
268+ pandoc .Plain (_quarto .modules .callouts .displayName (callout .type ))
268269 )},
269270 { " background_color" , pandoc .RawInline (" typst" , background_color ) },
270271 { " icon_color" , pandoc .RawInline (" typst" , icon_color ) },
@@ -406,4 +407,4 @@ function crossref_callouts()
406407 return callout
407408 end
408409 }
409- end
410+ end
You can’t perform that action at this time.
0 commit comments