Fixed htmlWriter to exclude closing tags for break tags, added tests for break tags