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 · 3 comments · Fixed by #6556
Closed

\ (Forced line feed) may be ignored #6549

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

Comments

@fu-sen
Copy link

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
Copy link

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 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 as completed in #6556 Nov 29, 2019
bep added a commit that referenced this issue Nov 29, 2019
@fu-sen
Copy link
Author

fu-sen commented Nov 29, 2019

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

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 11, 2022
warbee0712 added a commit to warbee0712/goldmark that referenced this issue May 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants