Bug 513605

Summary: incorrectly marked preformatted/code text segments in editor + segfault related
Product: [Applications] ghostwriter Reporter: Daniel Duris <kdebugs>
Component: generalAssignee: megan.conkle
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version First Reported In: 25.08.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: described bug shown

Description Daniel Duris 2025-12-20 12:07:53 UTC
Created attachment 187810 [details]
described bug shown

SUMMARY
Enter block  of preformatted text:
```
xxx 
```
Incorrectly formatted, weird spacing/indent etc.

STEPS TO REPRODUCE
1. Enter text block

OBSERVED RESULT
Incorrect text block formatting in editor, moreover segfault crash on one paste into ``` starting block

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Daniel Duris 2025-12-20 12:13:59 UTC
Also present in version 25.12.0
Comment 2 Daniel Duris 2025-12-20 12:14:21 UTC
Operating System: KDE neon User Edition
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1