Skip to content

Unexpected line breaks in Markdown-statuses

Pleroma version: 1.1.3
Pleroma-FE version: pleroma-fe@bcfdd68e

The CSS setting white-space: pre-wrap; has the effect that this Markdown-post:

This is
normal text

> This is a
> quote

looks like this:

screenshot_2019-11-04T08-23-44

I expected that single newlines have no effect on the resulting text, as is normal for Markdown.

The content of the status is:

<p>This is\nnormal text</p>\n<blockquote><p>This is a\nquote</p>\n</blockquote>\n

Maybe single newlines could be removed from HTML after Markdown-processing?