-
-
Notifications
You must be signed in to change notification settings - Fork 244
Description
Describe the bug
When running a cstate site (tried with cstate/example and our own installation) with hugo latest (0.139.3), informationals with URLs / <a href..>
tags get a wrong line break plus indentation in the incident history (see screenshots below)
Reproduction steps
Steps to reproduce the behavior:
- create issue with
informational: true
and including a markdown link or a URL - serve site with hugo latest (0.139.3)
- Scroll down to "Incident history"
- Look at the preview of the first lines
(Content of test issue:
---
title: Maintenance Announcement
date: 2024-02-24 10:35:00
informational: true
pin: true
section: issue
---
We will shut down our network at midnight UTC on Feb 24. This does not affect the current status.
This is a [markdown test link](www.example.com). This is following text.
And this is a normal URL: https://www.test.de with following text.
Expected behavior
The Issue text shouldn't have line breaks before, nor strange indentation after (first) link.
Also, (my opinion) the preview of the content should be without line breaks at all, just as behaviour with hugo 0.100.2 (see last screenshot)
Screenshots
Hugo latest:
Additional context
tried this with hugo images from registry.gitlab as well as peaceiris/actions-hugo@v2 with: hugo-version: 'latest'
on Github.io