Foldable callouts that are expanded by default leave extra space when embedded in another note

Steps to reproduce

  • Create two notes, Note A and Note B.
  • Insert the following in Note A:
>[!callout]+
>Here's my callout
>Here's
>more
>lines
>to
>space
>it
>out
^my-callout
  • Insert the following in Note B:
![[Note A#^my-callout]]
  • Collapse the foldable callout and observe the leftover space.

  • By contrast, set the callout to be collapsed instead and observe the behaviour. The embedded callout will collapse and not take up as much space.

Did you follow the troubleshooting guide? Y

Expected result

We should see the embedding collapse with the callout and not take up more space than neccessary.

Actual result

Instead the embedding takes up lots of unnecessary space after collapsing the callout.

Environment

SYSTEM INFO:
Obsidian version: 1.13.4
Installer version: 1.6.7
Operating system: Darwin Kernel Version 25.5.0: Mon Apr 27 20:38:00 PDT 2026; root:xnu-12377.121.6~2/RELEASE_ARM64_T8103 25.5.0
Login status: not logged in
Language: en-GB
Insider build toggle: off
Live preview: off
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 22
Plugins enabled: 0

RECOMMENDATIONS:
none


Additional information

thanks