(Note: As a non-native English speaker, this question was translated and generated with the help of AI to ensure clarity.)
I'm developing an internal application using PowerApps.
When I tried to get the diff from the last modification using Yaml code, I noticed that multi-line code set in a control was being combined into a single line, enclosed in double quotes ("").
My application is quite complex, so the code volume is significant. What's puzzling is that even with the same amount of code, some sections are linearized into a single line while others are not. Furthermore, if I copy and paste the same code snippet process by process, sometimes it preserves line breaks and doesn't consolidate into a single line.
Could anyone explain what mechanism or conditions cause the code to be merged into a single line in Yaml? I'm trying to understand why this happens and if there's a way to prevent it, especially for diff tracking.

Report
All responses (
Answers (