Steps to reproduce: 1. Create a calc document with a chart in Calc Online. 2. Open an empty calc document in LO desktop. 3. Copy the chart from Calc Online and paste it into the LO Desktop Calc file ===> Chart is not pasted. Details of the issues fixed: 1. <img ...> tag is self closing. Code in calc filter expected a closing img tag. This is now fixed. 2. Add graphic loading logic for embedded images in html like: <img src="data:image/png;base64,iVBOR....."> Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: Ib4aef64727da458b014b570f0e22e81bc869226c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202268 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit dfb400a2eb7574b474e2227dd3c911651543f153) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207719 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins