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

Unexpected blank line when using multiple lines in an alert box #877

Open
kneep opened this issue May 10, 2024 · 0 comments
Open

Unexpected blank line when using multiple lines in an alert box #877

kneep opened this issue May 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kneep
Copy link

kneep commented May 10, 2024

Issue description

single line:
image

{{< alert >}}
abc
{{< /alert >}}

multiple line:
image

{{< alert >}}
abc

def
{{< /alert >}}

The first and last blank lines of the second box are unexpected. Not sure about the middle one.

Theme version

v2.8.2

Hugo version

hugo v0.125.7+extended darwin/arm64 BuildDate=2024-05-08T14:46:24Z VendorInfo=brew

Which browser rendering engines are you seeing the problem on?

Chromium (Google Chrome, Microsoft Edge, Brave, Vivaldi, Opera, etc.), WebKit (Safari)

URL to sample repository or website

No response

Hugo output or build error messages

No response

@kneep kneep added the bug Something isn't working label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant