Don't expand if not inside textnode