Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 596
    • Issues 596
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 99
    • Merge requests 99
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Pleroma
  • pleromapleroma
  • Issues
  • #1374
Closed
Open
Created Nov 04, 2019 by tastytea@tastytea

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?

Assignee
Assign to
Time tracking