Bug 515633

Summary: more than one formatting on text doesn't work
Product: [Applications] Marknote Reporter: Siddharth Chopra <siddharth_c1>
Component: GeneralAssignee: mbruchert <mbb>
Status: REPORTED ---    
Severity: normal CC: carl, mbb
Priority: NOR    
Version First Reported In: 1.3.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Siddharth Chopra 2026-02-06 15:49:29 UTC
SUMMARY
If i try to add more than one formatting to a text, only the first one shows up. for eg, if i add bold and underline together, it only shows bold and the underscores separately.

The reason is- while saving the order of the formatting becomes wrong. bold and underlined text should be saved like: **_hi_** but it is saved as" **_hi**_
This probably causes the messed up formatting. 

STEPS TO REPRODUCE
1.  write a text, apply 2 formattings to it
2. Make it save the note
3. Open the source md file to see how it is saved

OBSERVED RESULT
Only one formatting shows

EXPECTED RESULT
Both the formatting should be visible simultaneously

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.12.57+deb13-amd64
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 
Qt Version: 6.10.1

ADDITIONAL INFORMATION