function (token) {
	if (!token) {
		return '';
	}
	if (typeof token === 'string') {
		return token;
	}
	if (typeof token.content === 'string') {
		return token.content;
	}
	return token.content.map(stringifyToken).join('');
}
function (token) {
	if (!token) {
		return '';
	}
	if (typeof token === 'string') {
		return token;
	}
	if (typeof token.content === 'string') {
		return token.content;
	}
	return token.content.map(stringifyToken).join('');
}
function ( token ) { if ( ! token ) { return '' ; } if ( typeof token === 'string' ) { return token ; } if ( typeof token . content === 'string' ) { return token . content ; } return token . content . map ( stringifyToken ) . join ( '' ) ; }
The following will handle plain text inside tags
The following will handle plain text inside tags
Returns a string representation of a token