Bug 516112

Summary: Code blocks munge the text
Product: [Applications] NeoChat Reporter: Nate Graham <nate>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: normal CC: carl, josh
Priority: NOR Keywords: regression
Version First Reported In: git master   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Mis-formatted code block

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.