I’m using the Management API to update custom database connection scripts (login) and noticed that embedded \n characters in my customScripts.login JSON string value do not get interpreted as expected when viewing the scripts from the Auth0 dashboard. The script appears as a single long line with \n shown inline instead of being interpreted as newline. It doesn’t appear to cause any issues with the function working, but it would be nice to have the script more readable in the dashboard for debugging, etc.
If I go in reverse, and edit a script interactively from the dashboard with newlines, do a get connection via the Management API, and send back the same string Auth0 gave me (again with embedded \n characters) I see the same issue.
Any tricks to working with newlines to make this work or is this just an expected side-effect of using the API?