For block images which exist in the following html, images are not being aligned to the right in the generated Word document. please notice that if text-align added to parent P element it’ll be aligned so the parser is not able to deal with block images with text align and margin attributes to align the images.
<html xmlns=“http://www.w3.org/1999/xhtml”>
<head></head>
<body>
<p fr-original-style=“” style=“margin: 0px 0px 5px; font-family: Telex, Arial, sans-serif; font-size: 13px; line-height: 18px; height: auto; white-space: normal;“><img src=“http://localhost:8085/rest/get/project/1035/SchoolLogo.png-1655596580588” style=“width: 300px; display: block; vertical-align: top; margin: 5px 0px 5px auto; text-align: right; max-width: 100%; border: 0px; position: relative; cursor: pointer; padding: 0px 1px; user-select: none;” fr-original-style=“width: 300px; display: block; vertical-align: top; margin: 5px 0px 5px auto; text-align: right;” fr-original-class=“fr-draggable” /></p>
<p fr-original-style=“” style=“margin: 0px 0px 5px; font-family: Telex, Arial, sans-serif; font-size: 13px; line-height: 18px; height: auto; white-space: normal;“><br fr-original-style=“” style=“margin: 0px;” /></p>
</body>
</html>
Any help with this issue would be much appreciated...