-
Notifications
You must be signed in to change notification settings - Fork 159
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
Add support for Line Break Best Practices - Two or more spaces #61
Comments
The most important thing here is that consecutive text lines are joined without a space.
is rendered as:
This pretty much makes the |
@ingydotnet @Thomas-Haase @chrisdavidmiles I've identified the issue, it is a regression after #53. I'll fix it soon. You can roll back to mark v4.0 to render your markdowns for now. |
@kovetskiy thanks for responding so quick! I'll roll it back for now. |
@ingydotnet @Thomas-Haase would be great if you guys can try on version c22c6c1 and let me know if it works or not before I release it. I added the tests this time (the lack of tests was the root cause of all the problems actually), but still would be great to know it works on real documents. |
Yes of course I would be happy to check this with my real documents. I can easily remove the sed workaround in my workflow, which replaces the two spaces with the HTML-ish break. |
@kovetskiy I can confirm that c22c6c1 works for me. Well a coworker tested that (for commit c22c6c1 and others):
renders to
same as 4.0, rather than the 4.1
|
I did test it against c22c6c1 and it did the "correct" thing. When will 4.3 be released? Thanks for a great utility! |
Just released it as 5.0 since it uses the next version of the markdown compiler — blackfriday. Docker image is also available. |
@kovetskiy I confirm, that 5.0 fixes my issue report. You are very fast, really great, excellent tool, many thanks. |
When uploading Markdown files that use two (or more) spaces at end of line to create a line break, as recommended e.g. at Line Break Best Practices, this results in Confluence pages that have no line break at this position. In fact even no whitespace at all is generated at this position, i.e. the lines are concatenated without any whitespace.
My test content was:
This was rendered as:
I have tried alternatively the following scenarios, which both work as expected:
<br \>
instead of the two spaces, the result is as expected after uploading them with mark.The text was updated successfully, but these errors were encountered: