Fixed tag coalescing issues
Fixed issue with text format tags closing at the same place