Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No new line in DEFAULT_PAD in docker? #6760

Closed
j2l opened this issue Nov 14, 2024 · 1 comment
Closed

No new line in DEFAULT_PAD in docker? #6760

j2l opened this issue Nov 14, 2024 · 1 comment

Comments

@j2l
Copy link

j2l commented Nov 14, 2024

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):

  • Etherpad version:
  • OS: Ubuntu 20.04
  • Node.js version: docker
  • npm version: docker
  • Is the server free of plugins: YES

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Browser: Firefox

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 j2l closed this as completed Nov 14, 2024
@j2l
Copy link
Author

j2l commented Nov 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant