Copying from a rendered Markdown blob includes line breaks from the source
This is the same file, rendered on GitLab.com and on GitHub:
- https://gitlab.com/gitlab-org/gitlab-ce/blob/v9.0.0-rc6/doc/development/limit_ee_conflicts.md
- https://github.com/gitlabhq/gitlabhq/blob/v9.0.0-rc6/doc/development/limit_ee_conflicts.md
If you try to copy the list item beginning 'code reviews for merge requests' from GitLab.com to a GitLab.com comment field, you get:
- Code reviews for merge requests often consist of multiple iterations of
feedback and fixes. There is no need to update your EE MR after each
iteration. Instead, create an EE MR as soon as you see the
`rake ee_compat_check` job failing. After you receive the final acceptance
from a Maintainer (but before the CE MR is merged) update the EE MR.
This helps to identify significant conflicts sooner, but also reduces the
number of times you have to resolve conflicts.
That's the source markdown, and it's an awesome feature.
If you copy to anywhere else, you get:
Code reviews for merge requests often consist of multiple iterations of
feedback and fixes. There is no need to update your EE MR after each
iteration. Instead, create an EE MR as soon as you see the
rake ee_compat_check job failing. After you receive the final acceptance
from a Maintainer (but before the CE MR is merged) update the EE MR.
This helps to identify significant conflicts sooner, but also reduces the
number of times you have to resolve conflicts.
That is the rendered text, but includes linebreaks from the source. If you copy from GitHub, you get:
Code reviews for merge requests often consist of multiple iterations of feedback and fixes. There is no need to update your EE MR after each iteration. Instead, create an EE MR as soon as you see the rake ee_compat_check job failing. After you receive the final acceptance from a Maintainer (but before the CE MR is merged) update the EE MR. This helps to identify significant conflicts sooner, but also reduces the number of times you have to resolve conflicts.
Which is the 'correct' version.