Indented callouts rendered incorrectly
AlekseiAdamov opened this issue ยท 4 comments
AlekseiAdamov commented
Description
Callouts with indentation (e.g. in lists) are rendered incorrectly.
Steps To Reproduce
- Create a list.
- In a list item put a callout with the same indentation as the item's text.
Expected Behavior
Callout is rendered correctly.
Actual Behavior
Callout is rendered incorrectly.
Screenshots
Markdown code for this screenshot:
## Normal callout
{{< callout emoji="๐ทโโ๏ธ" >}}
Work in progress.
{{< /callout >}}
## Indented callout
- List item 1
{{< callout emoji="๐ทโโ๏ธ" >}}
Work in progress.
{{< /callout >}}
- List item 2
Environment
- Hugo Version: 0.120.4
- Browser/OS: Chrome 122.0.6261.95/Windows, Edge 122.0.2365.66/Windows
- Theme Version: v0.7.0
Additional Context
imfing commented
Can you post the raw markdown code to reproduce the issue?
AlekseiAdamov commented
Can you post the raw markdown code to reproduce the issue?
Sorry, updated the issue.
AlekseiAdamov commented
Great! Thank you!
imfing commented
Please wait for the next release to include this fix