create image full path when relative is provided
fix content path
fix typo
ignore link and image attributes when not present