Skip to content

A single newline isn't being treated as a separater #1783

Open
@staples1347

Description

@staples1347

Please use GitHub reactions 👍 to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug
In Plain edit mode, a single newline isn't being treated as a separater similar to spaces which is breaking bold and italics rendering and possibly other formatting. Separating formatting by a space or two newlines still works. Also, this problem isn't occuring on the web version of Notes or the latest Apple store version of Nextcloud Notes. In the screenshot the top set shows the problem, the second set shows putting a space at the front of each line works okay, and the third set shows a double newline working okay.

To Reproduce
Steps to reproduce the behavior:

  1. Start a new note
  2. Type the following:
    one
    two
    three

Expected behavior
one, two, and three should all be bold, but only one is

Screenshots
Screenshot_20230427_070559_Nextcloud Notes

Smartphone (please complete the following information):

  • Nextcloud Notes-Version (android app): 4.0.0
  • F-Droid or Play Store: F-Droid
  • Android-Version: 12
  • Device: Samsung Galaxy S10

Server

  • Nextcloud version: 24.0.11
  • Nextcloud Notes version (server app): 4.5.1

Stacktrace
(not applicable)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions