Skip to content

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.

2 participants