Not getting line feeds in tick-marked code blocks (0.55.6)

When I type the following in an .md file…

```text
Hello world, this is line 1

This is line 2
```

I believe I should be getting:

Hello world, this is line 1

This is line 2

…but, instead, Hugo 0.55.6 is giving me:

Hello world, this is line 1 This is line 2

What am I missing?

What OS are you using?

macOS.

Hmm. Would you share your repo? Or create a small example to share?

Because this works fine for me. So am wondering if there is something funky happening with new lines from your text editor.

Briefly public…

…and the file in question is https://github.com/brycewray/hugo_site_css-grid/blob/master-grid/content/posts/2019/07/why-staying-with-hugo.md

(Good subject matter, no? :slight_smile: )

Also, re text editor: I tried from both iA Writer and VS Code. Same result.

Good subject matter, but you will not like to source of your issue :wink:

It’s not Hugo related, but CSS. You need to remove this:

1 Like

Much obliged! I’ll figure out how to work around it in the cases for which I’d put that there in the first place.