Changed how findMatchingParentOpenTag works to match Chrome (i.e. browsers) behavior.
Modified the way how tags are closed in case of error
Removed HTML names as not exact and simplify renderer