ether / etherpad-lite

Etherpad: A modern really-real-time collaborative document editor.
http://docs.etherpad.org/
Apache License 2.0
16.76k stars 2.85k forks source link

No new line in DEFAULT_PAD in docker? #6760

Closed j2l closed 1 week ago

j2l commented 1 week ago

Describe the bug Setting DEFAULT_PAD_TEXT in the yaml (or .env) seems to be passed, but new line is not interpreted correctly. I tried with quotation marks too.

To Reproduce Steps to reproduce the behavior:

  1. add a DEFAULT_PAD_TEXT:test\n1
  2. docker-compose up -d
  3. new pad
  4. See error: image

Expected behavior

test
1

Server (please complete the following information):

Desktop (please complete the following information):

Additional PAD_OPTIONS_NO_COLORS seems to have a problem related to this one, you must have a string ("true") or an int (1) or null, none of this is taken in account. Error: services.app.environment.PAD_OPTIONS_NO_COLORS contains true, which is an invalid type, it should be a string, number, or a null

j2l commented 1 week ago

Actually I tested through .env with quotation marks, didn't work, but it does directly in the yaml.