| Summary: | The tilde sign ("~") doesn't get handled properly if paired with single or double quotes | ||
|---|---|---|---|
| Product: | [Applications] Marknote | Reporter: | hbr <nepnep> |
| Component: | General | Assignee: | mbruchert <mbb> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | carl, mbb |
| Priority: | NOR | ||
| Version First Reported In: | 1.2.1 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Handling_Of_Tilde.png | ||
Created attachment 169695 [details] Handling_Of_Tilde.png SUMMARY The tilde sign ("~") doesn't get handled properly if paired with single or double quotes (e.g. as part of a terminal command). Instead of appearing as plain text it gets interpreted as a markdown command. STEPS TO REPRODUCE 1. Add this text to a note: cp "~/.local/path with spaces/test.txt" "~/.local/new path with spaces/" 2. Switch to another note and back to the note with the command to refresh it OBSERVED RESULT Instead of displaying the command properly it interpreted parts of it as a markdown command. The first part now has a line through it and the tilde sign ("~") is missing from both parts of the command. In the actual .md file it now looks like this: cp "~~/.local/path with spaces/test.txt" "~~/.local/new path with spaces/" This happens with single quotes (" ' ") or double quotes (" " "). If no quotes are included in the command it is displayed properly. EXPECTED RESULT The text gets displayed properly as basic text. SOFTWARE/OS VERSIONS Operating System: EndeavourOS KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.0 Kernel Version: 6.9.1-zen1-1-zen (64-bit) Graphics Platform: Wayland