wired-notify
wired-notify copied to clipboard
[BUG] Trailing white space in the notification body
Version: 0.10.2 - wired-git from aur
OS: Arch Linux + dwm
- [x] I am running the latest version
- [x] I checked the documentation and found no answer
- [x] I checked to make sure that this issue has not already been filed
Expected Behavior
I think the trailing spaces should be removed before sending the notification.
Current Behavior
This is a Brave browser advertising with just an empty space in the body.
Steps to Reproduce

notify-send "test" " "
notify-send "test" " "
I think I considered this at some point and decided it's a bug with the notification sender, but I'm happy to change my mind.
An alternative is changing the Body RenderCriteria to ignore whitespace in the criteria, but I don't see this being particularly useful.
I think just trimming notification text is the right idea.
Fixed in 0.10.3.