remove trailing white spaces in w3m