Skip to content

[BUG] Newline is rendered as two instead of just one #409

Description

@jeffxt

If there is a new line break (enter) in the description of a post, it will render as two. Editing the post has no effect. Comparing Pixelix vs. Pixelfed web UI also looks different.

Expected result
If I hit enter, there should only one line break

Actual result
There are 2 line breaks

Steps to reproduce

  • Create a new post
  • Add some text in the description
  • Hit enter
  • Add some more text
  • Save
  • Look at the description again - see how there are 2 line breaks in the Pixelix app
  • Compare using the web UI for Pixelfed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions