Fix embedImgLinks