Multi-line configurations

Created on 19 February 2024, 10 months ago

Problem/Motivation

When I export the configuration of an online site, as soon as I put it in my local "config/sync" folder, I realize that it modifies several configurations that contain multi-line configurations.

Here's an example:

foo:
  - bar
  - baz

becomes

foo: "bar\nbaz"

Proposed resolution

The is maybe something to do with the Yaml::dump() function that's used to get the config data formatted as YML. Given that I don't really have much time to correct this problem. I'm opening this issue. If no one corrects it in the meantime, I'll do it as soon as I have time.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇨🇭Switzerland zilloww

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024