[GH-ISSUE #549] Single linebreaks are lost when viewing textnote card #357

Closed
opened 2026-03-02 11:49:10 +03:00 by kerem · 1 comment
Owner

Originally created by @tainio on GitHub (Oct 16, 2024).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/549

When creating a new note and adding line breaks, the formatting is not preserved when viewing the note. The entire text is displayed on a single line.

Steps to reproduce:

  1. Create a new note.
  2. Enter text with multiple lines.
  3. Save the note.
  4. View the note. The text is displayed on a single line.

Note that editing the saved note displays line breaks correctly.

Running v0.18.0 with docker

Expected behavior:
The note should be displayed with roughly the same formatting (considering limited space) as it was entered, including line breaks.

image
image
image

Originally created by @tainio on GitHub (Oct 16, 2024). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/549 When creating a new note and adding line breaks, the formatting is not preserved when viewing the note. The entire text is displayed on a single line. Steps to reproduce: 1. Create a new note. 2. Enter text with multiple lines. 3. Save the note. 4. View the note. The text is displayed on a single line. Note that editing the saved note displays line breaks correctly. Running v0.18.0 with docker Expected behavior: The note should be displayed with roughly the same formatting (considering limited space) as it was entered, including line breaks. ![image](https://github.com/user-attachments/assets/8f6640b1-ddc2-4e87-858e-6e412559bb3c) ![image](https://github.com/user-attachments/assets/077b4f61-3b07-43a4-bc23-a6a9b489d94c) ![image](https://github.com/user-attachments/assets/b9523c7c-8987-4a38-8dd4-5bbb409a5f21)
kerem 2026-03-02 11:49:10 +03:00
  • closed this issue
  • added the
    UI/UX
    label
Author
Owner

@kamtschatka commented on GitHub (Oct 16, 2024):

indeed, that is quite inconsistent. I have created a PR to fix it.

<!-- gh-comment-id:2417271509 --> @kamtschatka commented on GitHub (Oct 16, 2024): indeed, that is quite inconsistent. I have created a PR to fix it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#357
No description provided.