Skip to content

Newlines repeatedly added to UI Footer on saveย #6833

@DrMaxNix

Description

@DrMaxNix

Contribution guidelines

Checklist prior issue creation

  • I understand that failure to follow below instructions may cause this issue to be closed.
  • I understand that vague, incomplete or inaccurate information may cause this issue to be closed.
  • I understand that this form is intended solely for reporting software bugs and not for support-related inquiries.
  • I understand that all responses are voluntary and community-driven, and do not constitute commercial support.
  • I confirm that I have reviewed previous issues to ensure this matter has not already been addressed.
  • I confirm that my environment meets all prerequisite requirements as specified in the official documentation.

Description

Every time the UI footer html is saved, the backend adds <br /> at the end of every line. This modified version is now the new content. When clicking save again, it will add <br />s again. This is incredibly annoying, especially if you just want to edit one of the other inputs that share the same submit button (eg. Announcement text).

Steps to reproduce:

  1. Log in as admin
  2. Go to System > Configuration > Options > Customize
  3. At the bottom of the page, enter mutiple lines into Footer (HTML allowed):
  4. Save
  5. Note that <br />s have been added to the end of every line
  6. Save again
  7. Note that another set of <br />s has been added

Initial input:
Image

After 1st save:
Image

After 2nd save:
Image

After 3rd save:
Image

Which branch are you using?

master (stable)

mailcow version:

2025-09c

Metadata

Metadata

Assignees

Labels

bugstalePlease update the issue with current status, unclear if it's still open/needed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions