LPS-46027 Escape image attributes