Removes leading|trailing pipes and spaces while saving.

This could lead to dramatic problems…