Bug 445687

Summary: Feature Request: ability to turn off rendering the text that has spaces before it in a new line as code
Product: [Applications] Merkuro Reporter: strangequark <random1123581321>
Component: generalAssignee: Claudio Cambra <claudio.cambra>
Status: CONFIRMED ---    
Severity: wishlist CC: carl, kishore96
Priority: NOR    
Version First Reported In: 0.2.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description strangequark 2021-11-18 11:14:39 UTC
SUMMARY
Currently, when text is inputted into the description of an event with spaces before it, it renders as code. I don't think there's much of a usecase to render text as code in a calendar application, so the ability to turn this off would be nice.

STEPS TO REPRODUCE
1.  In the description, give a couple of spaces before writing

OBSERVED RESULT
The text renders as plaintext, like the formatting for code in most places.

EXPECTED RESULT
An ability to turn this off

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-40-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620

ADDITIONAL INFORMATION
none
Comment 1 Carl Schwan 2022-05-15 12:33:55 UTC
The formatting used is markdown, this allows outside of rendering code to also add link, make text bold or italic and add lists. We unfortunately can't stop rendering code but still render the other elements, so I don't really see a way to fix this issue. Outside of maybe completely disabling all the other rendering options at the same time.
Comment 2 Carl Schwan 2022-11-23 17:05:00 UTC
Ideally we should probably support rich text editing