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

Indented callouts rendered incorrectly #315

Closed
AlekseiAdamov opened this issue Mar 4, 2024 · 4 comments · Fixed by #338
Closed

Indented callouts rendered incorrectly #315

AlekseiAdamov opened this issue Mar 4, 2024 · 4 comments · Fixed by #338

Comments

@AlekseiAdamov
Copy link

AlekseiAdamov commented Mar 4, 2024

Description

Callouts with indentation (e.g. in lists) are rendered incorrectly.

Steps To Reproduce

  1. Create a list.
  2. 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

indented-callout

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

I see #140 and PR #141 but it was before v0.7.0.

@imfing
Copy link
Owner

imfing commented Mar 4, 2024

Can you post the raw markdown code to reproduce the issue?

@AlekseiAdamov
Copy link
Author

Can you post the raw markdown code to reproduce the issue?

Sorry, updated the issue.

@AlekseiAdamov
Copy link
Author

Great! Thank you!

@imfing
Copy link
Owner

imfing commented Mar 30, 2024

Please wait for the next release to include this fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants