Skip to content

Fix CRs gor paragraphs with empty br #5165

Open
@Elblinator

Description

@Elblinator

Describe the bug
If a motion has <p> <br> text</p>

How to Reproduce

  1. Create a motion with the following text
<p>
<br>first</p>
<p>
<br>secoond</p>
<p>third</p>
  1. create a CR on line 1 and add a new character
  2. The motion will look at like the following
    Image

Expected behavior
Line 1 should not appear two times (the empty line should not be there)
Below the "first fg" is a lot of space which should not be there

(see line 3)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions