# Soft line-breaks should not introduce spaces

**URL:** <https://talk.commonmark.org/t/soft-line-breaks-should-not-introduce-spaces/285>\
**Category:** Spec\
**Created:** [September 4, 2014, 12:02pm UTC](https://talk.commonmark.org/t/soft-line-breaks-should-not-introduce-spaces/285 "2014-09-04T12:02:19Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![jgm](https://talk.commonmark.org/user_avatar/talk.commonmark.org/jgm/32/1360_2.png) [@jgm](https://talk.commonmark.org/u/jgm)\
**Post date:** [February 22, 2017, 1:18pm UTC](https://talk.commonmark.org/t/soft-line-breaks-should-not-introduce-spaces/285/8 "2017-02-22T13:18:10Z")

</div>

@episodeyang your idea sounds promising. In general, it seems to me that this is something that is best handled at the renderer level (either automatically as you suggest or through an option), rather than in the parser.

EDIT: pandoc does have a Markdown extension `ignore_line_breaks` which does affect the parser; it causes newlines within the paragraph to be ignored rather than being treated as spaces or as hard line breaks. It also has `east_asian_line_breaks`, which causes the newlines to be ignored when they occur between two East Asian wide characters.

---

_[View the full topic](https://talk.commonmark.org/t/soft-line-breaks-should-not-introduce-spaces/285)._
