Fix stripWs (#539)