Yaml not escaping break line in double quoted string

it’s weird, as yaml doc stating it should work :

en:

site_under_maintenance_message: “We are sorry,\n this site is currently
under maintenance, please try later…”

should display as :

We are sorry,

this site is currently under maintenance, please try later…

but it’s displayed as a single line

We are sorry, this site is currently under maintenance, please try
later…

You did not say how this is being displayed. If it is being displayed
on a
web page, new lines are always discarded. You need to use ‘

instead
of ‘\n’.

yes, thanks it’s going to be displayed on a web page …

Le mercredi 10 avril 2013 15:36:07 UTC+2, jsnark a crit :

Kad K. wrote in post #1105178:

yes, thanks it’s going to be displayed on a web page …

Le mercredi 10 avril 2013 15:36:07 UTC+2, jsnark a crit :