src/generators/dom/visitors/Text.js/visitText
export default function visitText ( generator, block, state, node ) {
	if ( !/\S/.test( node.data ) ) {
		if ( state.namespace ) return;
		if ( elementsWithoutText.has( state.parentNodeName) ) return;
	}

	const name = block.getUniqueName( `text` );
	block.addElement( name, `${generator.helper( 'createText' )}( ${JSON.stringify( node.data )} )`, state.parentNode, false );
}