Footnotes are not rendered as expected in nested shortcodes

markdown

{{% outer %}}
footnote[^1]
{{< inner >}}
footnote[^2]
{{< /inner >}}
{{% /outer %}}

...
...

[^1]: footnote 1
[^2]: footnote 2

layouts/shortcodes/inner.html

{{ .Inner }}

layouts/shortcodes/outer.html

{{ .Inner }}
1 Like