Skip to content

Trim whitespace from OOO message before displaying - #263

Open
kroeschl wants to merge 2 commits into
alejandro5042:masterfrom
kroeschl:ooo-trim
Open

Trim whitespace from OOO message before displaying#263
kroeschl wants to merge 2 commits into
alejandro5042:masterfrom
kroeschl:ooo-trim

Conversation

@kroeschl

@kroeschl kroeschl commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Justification

If a user has trailing newlines in their out-of-office message, we display that in our tooltip and it looks wonky. For example, this real out of office message:
image

Implementation

Trim the message before displaying. Bump our patch version, but don't touch the update notification tooltip because I don't think this is worth notifying people.

Testing

The same message looks better now:
image

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