https://bugs.kde.org/show_bug.cgi?id=518454
Bug ID: 518454
Summary: Editing message with code block loses part of the
message after edit
Classification: Applications
Product: NeoChat
Version First git master
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---
SUMMARY
Editing message with code block loses part of the message after edit,
however the actual message can be seen in the message source/
STEPS TO REPRODUCE
1. Send codeblock with message, like
```
this/component: foo now bars
foo should always bar, otherwise we have a crash in boingiboof
```
2. Edit it by appending two lines, such as
```
BUG: 69420
FIXED-IN: 6.6.6
```
then send.
OBSERVED RESULT
Only edited part is shown
EXPECTED RESULT
Whole message is shown
SOFTWARE/OS VERSIONS
Operating System: KDE Linux 2026-04-02
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.25.0
Qt Version: 6.11.0
Kernel Version: 6.19.10-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600
ADDITIONAL INFORMATION
The actual message content is still there when showing source. Looks like the
message, when being edited, moves everything after the first ``` so it looks
like this:
"content": {
"body": "``` this/component: foo now barsfoo should always bar,
otherwise we have a crash in boingiboof \n\nBUG: 69420\nFIXED-IN: 6.6.6\n```",
"format": "org.matrix.custom.html",
"formatted_body": "<pre><code class=\"language-this/component:\">\nBUG:
69420\nFIXED-IN: 6.6.6\n</code></pre>",
"msgtype": "m.text"
},
--
You are receiving this mail because:
You are watching all bug changes.