function closing_tag_omitted(current, next) {
	const disallowed = autoclosing_children[current];
	if (disallowed) {
		if (
			!next ||
			('direct' in disallowed ? disallowed.direct : disallowed.descendant).includes(next)
		) {
			return true;
		}
	}
	return false;
}
Returns true if the tag is either the last in the list of siblings and will be autoclosed,
or not allowed inside the parent tag such that it will auto-close it. The latter results
in the browser repairing the HTML, which will likely result in an error during hydration.
@param {string} current
@param {string} [next]