Changing how tags are opened/closed
Pass 0 as first argument to tag functions to close them.