attempt to fix issues with images
Attempt 2 at fixing image markup