Skip to content

#66 Restore single newline behavior in markdown renderer#71

Merged
chrishrb merged 1 commit into
chrishrb:mainfrom
YanWittmann:main
Apr 19, 2026
Merged

#66 Restore single newline behavior in markdown renderer#71
chrishrb merged 1 commit into
chrishrb:mainfrom
YanWittmann:main

Conversation

@YanWittmann
Copy link
Copy Markdown
Contributor

Removes html.WithHardWraps() from the goldmark renderer options, which was causing every newline to be treated as a <br>.
Single newlines are now ignored as paragraph breaks, matching my understanding of the standard CommonMark/README rendering behavior.

Fixes #66.

@chrishrb chrishrb merged commit 2d42942 into chrishrb:main Apr 19, 2026
2 checks passed
@chrishrb
Copy link
Copy Markdown
Owner

Thanks, looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Changed single newline without double space at EOL behavior

2 participants