You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commit 046c15c creates line breaks in the rendered output where the line ends in the raw Markdown, rather than flowing the rendered paragraph until the double newlines creating the end of the paragraph in the raw Markdown.
Steps to reproduce:
Create a content page with sample text but end text lines with a single newline at, for instance, column 25. End paragraphs with two newlines, creating a blank line between markdown paragraphs.
hugo server
cd themes/hugo-coder
git checkout 3344e09
Observe correct paragraph reflow in default rendering and as window is resized
git checkout 046c15c
git reset --hard HEAD
Observe lines in content pages now break exactly where the line ends in the raw Markdown rather than reflowing
Observed Results:
What happened?
Line breaks were inserted in the rendered text where the line breaks in the raw Markdown
What did you expect to happen?
Complete paragraph reflow until the end of the Markdown paragraph, as per commit 3344e09
This can be reproduced in the exampleSite as well, so I doubt it's a configuration setting specific to my site. All of the content pages in the exampleSite have paragraphs that are one single line of text in the original Markdown, regardless of line length, so this bug isn't immediately apparent.
For readability and portability all my Markdown files end lines at 80 columns, and this bug completely prangs up the rendering of my sites.
The rendered HTML appears identical in commits 3344e09 and 046c15c so it's likely a CSS error.
The text was updated successfully, but these errors were encountered:
Pin Coder theme submodule to commit 3344e09 since the subsequent commit
(046c15c) introduces a regression that causes a single newline in the
markdown to also be rendered as a newline in the website.
luizdepra/hugo-coder#932 must be resolved before updating to a newer
version.
If you remove white-space: pre-wrap; from _base.scss it resolves the issue, but I don't know how this affects the solution, which was introduced with this commit.
Describe the problem:
Commit 046c15c creates line breaks in the rendered output where the line ends in the raw Markdown, rather than flowing the rendered paragraph until the double newlines creating the end of the paragraph in the raw Markdown.
Steps to reproduce:
hugo server
cd themes/hugo-coder
git checkout 3344e09
git checkout 046c15c
git reset --hard HEAD
Observed Results:
This can be reproduced in the exampleSite as well, so I doubt it's a configuration setting specific to my site. All of the content pages in the exampleSite have paragraphs that are one single line of text in the original Markdown, regardless of line length, so this bug isn't immediately apparent.
For readability and portability all my Markdown files end lines at 80 columns, and this bug completely prangs up the rendering of my sites.
The rendered HTML appears identical in commits 3344e09 and 046c15c so it's likely a CSS error.
The text was updated successfully, but these errors were encountered: