Remove leading&trailing whitespace, trailing ?>