Revert space counting after the opening tag in favor of better fix since this one introduces extra parsing error.