DHRI-Curriculum / django-app

2 stars 3 forks source link

Weird linebreaks in the workshop abstracts #426

Closed kallewesterling closed 3 years ago

kallewesterling commented 3 years ago

N.b. this needs to be described in the documentation as it has to do with the content. In order for a new paragraph to be generated, the markdown needs to follow markdown standard, thus, these two examples are the same to the markdown parser, for some strange reason:

Line 1(space)(space)
Line 2
Line 1(space)(space)

Line 2

Both of these will generate the following HTML:

<p>Line 1<br />
Line 2</p>

In order to generate two paragraphs, which likely is what you want, you need to write:

Line 1(space)(space)
(space)(space)
Line 2

This will create the following (desired) HTML:

<p>Line 1</p>
<p>Line 2</p>

Tagging issue #362 here as this adheres to styleguide/documentation.