[kate] [Bug 442025] Invalid code in Markdown code fences breaks formatting outside of code fences
https://bugs.kde.org/show_bug.cgi?id=442025 --- Comment #9 from Dotan Cohen --- I see, thank you. -- You are receiving this mail because: You are watching all bug changes.
[kate] [Bug 442025] Invalid code in Markdown code fences breaks formatting outside of code fences
https://bugs.kde.org/show_bug.cgi?id=442025 --- Comment #8 from Jan Paul Batrina --- (In reply to Dotan Cohen from comment #7) > Created attachment 141327 [details] > SQL in a PHP block > > This is another example, in which valid SQL is mentioned in a PHP block. It > breaks the formatting outside the code fences as well. This one I can reproduce in Kate 19.12.3, but not anymore in the latest version from master. As for the original bug (the one with the unfinished string), that would be a bit tricky to fix as the php syntax-highlighting is "imported" wholesale, and current syntax rules dictate that a string in php will not end unless a closing " is supplied. It might take while for the bug to be fixed -- You are receiving this mail because: You are watching all bug changes.
[kate] [Bug 442025] Invalid code in Markdown code fences breaks formatting outside of code fences
https://bugs.kde.org/show_bug.cgi?id=442025 --- Comment #7 from Dotan Cohen --- Created attachment 141327 --> https://bugs.kde.org/attachment.cgi?id=141327=edit SQL in a PHP block This is another example, in which valid SQL is mentioned in a PHP block. It breaks the formatting outside the code fences as well. -- You are receiving this mail because: You are watching all bug changes.
[kate] [Bug 442025] Invalid code in Markdown code fences breaks formatting outside of code fences
https://bugs.kde.org/show_bug.cgi?id=442025 Jan Paul Batrina changed: What|Removed |Added Status|REPORTED|CONFIRMED Ever confirmed|0 |1 --- Comment #6 from Jan Paul Batrina --- Ahh, my bad. I don't know how I didn't notice the 4th step before, but now I can confirm that the bug exists in kate master. Takes for the quick response, complete with comparison screenshots! -- You are receiving this mail because: You are watching all bug changes.
[kate] [Bug 442025] Invalid code in Markdown code fences breaks formatting outside of code fences
https://bugs.kde.org/show_bug.cgi?id=442025 --- Comment #5 from Dotan Cohen --- Note in the screenshot, the PHP code on the right is missing a double-quote character, making the code not valid PHP code. -- You are receiving this mail because: You are watching all bug changes.
[kate] [Bug 442025] Invalid code in Markdown code fences breaks formatting outside of code fences
https://bugs.kde.org/show_bug.cgi?id=442025 --- Comment #4 from Dotan Cohen --- Created attachment 141326 --> https://bugs.kde.org/attachment.cgi?id=141326=edit Good PHP code on the left, invalid PHP code on the right. -- You are receiving this mail because: You are watching all bug changes.
[kate] [Bug 442025] Invalid code in Markdown code fences breaks formatting outside of code fences
https://bugs.kde.org/show_bug.cgi?id=442025 Dotan Cohen changed: What|Removed |Added Resolution|WAITINGFORINFO |--- Status|NEEDSINFO |REPORTED CC||kde-2011...@dotancohen.com --- Comment #3 from Dotan Cohen --- Thank you Jan. Notice this additional step needed to make the PHP code invalid, and thus break the Kate formatting: > 4. Remove one of the double quote characters from the string assignment line. Screenshot in a few minutes. -- You are receiving this mail because: You are watching all bug changes.
[kate] [Bug 442025] Invalid code in Markdown code fences breaks formatting outside of code fences
https://bugs.kde.org/show_bug.cgi?id=442025 Jan Paul Batrina changed: What|Removed |Added Status|REPORTED|NEEDSINFO Resolution|--- |WAITINGFORINFO --- Comment #2 from Jan Paul Batrina --- setting to needsinfo -- You are receiving this mail because: You are watching all bug changes.
[kate] [Bug 442025] Invalid code in Markdown code fences breaks formatting outside of code fences
https://bugs.kde.org/show_bug.cgi?id=442025 Jan Paul Batrina changed: What|Removed |Added CC||jpmbatrin...@gmail.com --- Comment #1 from Jan Paul Batrina --- Created attachment 141309 --> https://bugs.kde.org/attachment.cgi?id=141309=edit Kate 19.12.3 in Linuxmint showing correct highlighting Thanks for the bug report! I cannot reproduce the issue, neither with Kate from master nor with Kate 19.12.3 from a linuxmint 20.2 live usb. I have attached a screenshot of how it looks on both versions (minus differences on the colors), and similar highlighting happens in VS Code and Notepad++. Please attach a screenshot of the issue you described, even better if you point out the exact problem, so that we can check if it has already been fixed in newer versions. -- You are receiving this mail because: You are watching all bug changes.