Hugo: \ (Forced line feed) may be ignored

Created on 28 Nov 2019  Â·  2Comments  Â·  Source: gohugoio/hugo

What version of Hugo are you using (hugo version)?

PS (PowerShell)> hugo version
Hugo Static Site Generator v0.60.0-F2DEA9B0 windows/amd64 BuildDate: 2019-11-27T10:11:05Z

Does this issue reproduce with the latest release?

Yes

Problem description

There is this Markdown as a test:

**test**\
test**test**\
**test**test\
test**test**

In Hugo v0.60.0, the output is as follows:
スクリーンショット 2019-11-28 13 33 11

Some \ are not converted to
:

<p><strong>test</strong>\
 test<strong>test</strong>\
 <strong>test</strong>test<br>
 test<strong>test</strong></p>

This problem can be avoided by inserting a space before the \:

**test** \
test**test** \
**test**test \
test**test**

Since v0.59.1 was handled normally, this may require some Markdown modifications.

Bug Upstream

Most helpful comment

goldmark author here, I've fixed the issue and released the new version.

All 2 comments

goldmark author here, I've fixed the issue and released the new version.

Thank you for the quick fix!
I updated to Hugo v0.60.1 and confirmed this fix.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

carandraug picture carandraug  Â·  3Comments

moorereason picture moorereason  Â·  3Comments

vielmetti picture vielmetti  Â·  3Comments

artelse picture artelse  Â·  3Comments

kaushalmodi picture kaushalmodi  Â·  3Comments