- Issue created by @codebymikey
codebymikey → changed the visibility of the branch 3476626-normalize-multi-line-configs to hidden.
codebymikey → changed the visibility of the branch 3476626-normalize-multi-line-configs to active.
- Merge request !5Issue #3476626: Ensure exported multi-line config is human-friendly → (Open) created by codebymikey
- Status changed to Needs review
13 days ago 7:50am 16 April 2025 - 🇮🇳India prashant.c Dharamshala
I am not sure whether it makes a difference because this text will be displayed in the UI /admin/config/ai/ai_image_alt_text in the field "Alt text generation prompt" and there it would be readable anyways.
By removing \r it may cause issues on Windows, if someone could check on windows that would be helpful to decide whether to go ahead with this or not.
I use Windows, and it's not been an issue as per some of the other related issues like #3064574: Multiline YAML with \r\n not being encoded properly → .
The presense of "\r\n" is a browser specific quirk (it always converts the submitted new lines to CRLF), but doesn't need it to be persisted that way.