added support for inline images (inside <li> for instance)

also validate if an image exists before embedding and added centering support for text and content inside cells