Bug 516112 - Code blocks munge the text
Summary: Code blocks munge the text
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: git master
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2026-02-16 17:51 UTC by Nate Graham
Modified: 2026-02-16 18:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Mis-formatted code block (105.80 KB, image/webp)
2026-02-16 17:51 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2026-02-16 17:51:30 UTC
Created attachment 189672 [details]
Mis-formatted code block

NeoChat from git master via nightly Flatpak repo post chat bar merge.

If I send a message consisting entirely of this:

```
Difficult-to-use-it now:
- https://bugs.kde.org/show_bug.cgi?id=516102 - Chat text field becomes de-focused after sending a message 
- https://bugs.kde.org/show_bug.cgi?id=516108 - Freezes in QChar::category /harfbuzz library when loading chat history while a link preview is loading and rich text bar is open 
- https://bugs.kde.org/show_bug.cgi?id=516107 - Pressing the Down arrow key in the chat text bar crashes NeoChat in qt_assert_x() 
- https://bugs.kde.org/show_bug.cgi?id=516106 - When *not* using the rich text bar, markdown-style list markup is transformed into rich text anyway and messed up 
- https://bugs.kde.org/show_bug.cgi?id=516109 - Pasted links are linkified incorrectly
- https://bugs.kde.org/show_bug.cgi?id=516110 - Backticked URLs are formatted incorrectly
- https://bugs.kde.org/show_bug.cgi?id=516111 - Text-based rich text entry UX doesn't feel good to use

Less bad but nonetheless UI regressions:
- https://bugs.kde.org/show_bug.cgi?id=516100 - Compact delegate style no longer vertically centers unread bubble 
- https://bugs.kde.org/show_bug.cgi?id=516101 - "Other person is typing" indicator dots are too close to the person's name 
- https://bugs.kde.org/show_bug.cgi?id=516104 - Two context menus when right-clicking on messages 
```

The actual message that gets sent consists of this:


`Difficult-to-use-it now:`
- `https://bugs.kde.org/showbug.cgi?id=516102 - Chat text field becomes   de-focused after sending a message `
`\- https://bugs.kde.org/show_bug.cgi?id=516108 - Freezes in QChar::category /harfbuzz library when loading chat history while a link preview is loading and rich text bar is open `
`\- https://bugs.kde.org/show_bug.cgi?id=516107 - Pressing the Down arrow key in the chat text bar crashes NeoChat in qt_assert_x() `
`\- https://bugs.kde.org/show_bug.cgi?id=516106 - When \*not* using the rich text bar, markdown-style list markup is transformed into rich text anyway and messed up `
`\- https://bugs.kde.org/show_bug.cgi?id=516109 - Pasted links are linkified incorrectly`
`\- https://bugs.kde.org/show_bug.cgi?id=516110 - Backticked URLs are formatted incorrectly`
`\- https://bugs.kde.org/show_bug.cgi?id=516111 - Text-based rich text entry UX doesn't feel good to use`
`Less bad but nonetheless UI regressions:`
`\- https://bugs.kde.org/show_bug.cgi?id=516100 - Compact delegate style no longer vertically centers unread bubble `
`\- https://bugs.kde.org/show_bug.cgi?id=516101 - "Other person is typing" indicator dots are too close to the person's name `
`\- https://bugs.kde.org/show_bug.cgi?id=516104 - Two context menus when right-clicking on messages `
Comment 1 Nate Graham 2026-02-16 18:15:00 UTC
Fixed with *today's* git master.