Skip to content

Conversation

@Leonabcd123
Copy link
Contributor

@Leonabcd123 Leonabcd123 commented Nov 28, 2025

Description

Removed the .trim() call that deleted leading and trailing literal tabs or newlines from custom text.

This is to make sure that no matter what the custom text is, it will always stay the same after updating it. The current problem is that leading and trailing tabs and newlines will be removed when you click on "change" and "ok" for the second time (because they're now in their literal form, not \t and \n).

@monkeytypegeorge monkeytypegeorge added the frontend User interface or web stuff label Nov 28, 2025
@Miodec
Copy link
Member

Miodec commented Dec 4, 2025

Whats the reason for this change?

@Leonabcd123
Copy link
Contributor Author

Leonabcd123 commented Dec 4, 2025

Mainly to make sure that no matter what the custom text is, it will always stay the same when you click on "change" and then "ok". The current problem is that leading and trailing tabs and newlines will be removed when you click on "change" and "ok" for the second time (because they're now in their literal form, not \t and \n).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend User interface or web stuff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants