Whitespace control added for all tags

This is half of the new feature #47.
We still need to implement the spaceless tag.