DuoChat not escaping markdown correctly when being asked to return it
When using Duo Chat to generate a README.md file in markdown format, the output is only partially rendered correctly. Specifically, markdown code blocks are not being properly escaped, leading to improper closure of code blocks and causing the remaining content to be displayed outside the intended code block. This results in the markdown being half-rendered, making it impossible to copy-paste correctly formatted markdown. * Details / inital report: https://gitlab.com/gitlab-org/gitlab/-/issues/430124#note_2077596490 * Yet another example of this bug appearing: https://gitlab.com/gitlab-org/gitlab/-/issues/430124#note_2310841289 * Yet another example of this bug appearing: https://gitlab.com/gitlab-org/gitlab/-/issues/522938+
issue