Can I use a hook to strip trailing whitespace from the ends of lines
when a page is saved?
In other words, between an author editing a page and the edited wiki
text getting stored in the database, I want to strip trailing whitespace
from the ends of lines
Can I do it with a hook?