Skip to content

Recommended Hugo version? Rendering issue informationals in incident history with links #330

@n-bux

Description

@n-bux

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:

  1. create issue with informational: true and including a markdown link or a URL
  2. serve site with hugo latest (0.139.3)
  3. Scroll down to "Incident history"
  4. 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:

Eggsample-Status
Eggsample-Status2

Hugo 0.100.2
Eggsample-Status_old

Additional context

tried this with hugo images from registry.gitlab as well as peaceiris/actions-hugo@v2 with: hugo-version: 'latest' on Github.io

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions