Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing issue when footnotes before closing div #9576

Closed
mcanouil opened this issue Mar 14, 2024 · 0 comments
Closed

Parsing issue when footnotes before closing div #9576

mcanouil opened this issue Mar 14, 2024 · 0 comments
Labels

Comments

@mcanouil
Copy link

If a footnote is declared just before closing a div, then the whole div is not parsed as such.

Pandoc: 3.1.11.1

## Bad parsing

::: {.callout-tip}
## Carbon Footprint

Some text with a footnote.[^1]

[^1]: This is a footnote.
:::

::: {#something}
Some text with a footnote.[^3]

[^3]: This is a footnote.
:::

## All good

::: {.callout-tip}
## Carbon Footprint

Some text
:::

::: {.callout-tip}
## Carbon Footprint

Some text with a footnote.[^2]
:::

[^2]: This is a footnote.
image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants