Open kneep opened 4 months ago
single line:
{{< alert >}} abc {{< /alert >}}
multiple line:
{{< alert >}} abc def {{< /alert >}}
The first and last blank lines of the second box are unexpected. Not sure about the middle one.
v2.8.2
hugo v0.125.7+extended darwin/arm64 BuildDate=2024-05-08T14:46:24Z VendorInfo=brew
Chromium (Google Chrome, Microsoft Edge, Brave, Vivaldi, Opera, etc.), WebKit (Safari)
No response
This seems to be due to the markdownify partial in the alert shortcode.
markdownify
alert
Below is an example without markdownify in the alert box. But not sure if it affect other items
Issue description
single line:
multiple line:
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