DAR-2615 fix toc titles with images

DAR-2615 fix toc titles with images