Parser: streamlined the way tags that were left open are closed at the end of a text
OutputHandling: changed the way whitespace is skipped over
Improved whitespace handling around auto-generated end tags