She tried to comfort herself with the idea, that what he imagined her to be, did not alter the fact of what she was. 
She tried to comfort herself with the idea that what he imagined her to be, did not alter the fact of what she was. 