Strip any accidentally entered whitespace.

Refs #10114.
Merge remote-tracking branch 'origin/feature/10114_strip_spaces_in_refl'