More parser refactoring: further simplified _handle_tag_type().
More parser refactoring: further simplified _handle_tag_type().

android-ia/platform_external_pystache,android-ia/platform_external_pystache