Changed the description assigning to handle double quotes in comments and prevent the generated code from breaking.
Why are these changes needed?
When the content in structural comments contains ", the generated code won't get compiled because the " breaks the string.
Modified the FunctionCallTemplate.tt file to properly encode double quotes in descriptions by doubling them.
By doubling the double quotes in the description, we ensure that the generated code will compile correctly, even when comments include double quotes.
Changed the description assigning to handle double quotes in comments and prevent the generated code from breaking.
Why are these changes needed?
When the content in structural comments contains ", the generated code won't get compiled because the " breaks the string.
Modified the FunctionCallTemplate.tt file to properly encode double quotes in descriptions by doubling them. By doubling the double quotes in the description, we ensure that the generated code will compile correctly, even when comments include double quotes.
Related issue number
Closes #2872
Checks