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

feat: Remove line breaks. #34

Merged
merged 1 commit into from
Jan 15, 2025
Merged

feat: Remove line breaks. #34

merged 1 commit into from
Jan 15, 2025

Conversation

thet
Copy link
Member

@thet thet commented Jan 15, 2025

.pat-content-mirror is intended for single-line inputs which need to be wrapped if the line is getting too long. Line breaks are not allowed but were possible until now.
Now they are stripped from the input. Instead a single space character is used. This also works for copy/pasting where a list would not result in a long concatenated string but with a space as separator in between.

Ref: scrum-2879

Note: this removes carriage returns, newlines, vertical whitespace (vertical tabs) and page breaks.

.pat-content-mirror is intended for single-line inputs which need to be
wrapped if the line is getting too long. Line breaks are not allowed but
were possible until now.
Now they are stripped from the input. Instead a single space character
is used. This also works for copy/pasting where a list would not result
in a long concatenated string but with a space as separator in between.

Ref: scrum-2879
@thet thet merged commit a25e523 into master Jan 15, 2025
1 check passed
@thet thet deleted the scrum-2879--prevent-linebreaks branch January 15, 2025 14:47
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

Successfully merging this pull request may close these issues.

1 participant