Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\ (Forced line feed) may be ignored #6549

Closed
fu-sen opened this issue Nov 28, 2019 · 2 comments · Fixed by #6556
Closed

\ (Forced line feed) may be ignored #6549

fu-sen opened this issue Nov 28, 2019 · 2 comments · Fixed by #6556
Labels
Milestone

Comments

@fu-sen
Copy link

@fu-sen fu-sen commented Nov 28, 2019

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.

@fu-sen fu-sen changed the title border may be ignored \ (Forced line feed) may be ignored Nov 28, 2019
yuin added a commit to yuin/goldmark that referenced this issue Nov 29, 2019
@yuin

This comment has been minimized.

Copy link

@yuin yuin commented Nov 29, 2019

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

@bep bep added this to the v0.60.1 milestone Nov 29, 2019
@bep bep added Bug Upstream labels Nov 29, 2019
bep added a commit to bep/hugo that referenced this issue Nov 29, 2019
bep added a commit to bep/hugo that referenced this issue Nov 29, 2019
@bep bep closed this in #6556 Nov 29, 2019
bep added a commit that referenced this issue Nov 29, 2019
Fixes #6549
Fixes #6551
@fu-sen

This comment has been minimized.

Copy link
Author

@fu-sen fu-sen commented Nov 29, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.