POEditor imports the strings that contain HTML exactly how they are in your file and exports the translations exactly how they appear in the user interface.
When you use the Automatic Translation feature, your strings are sent to Google/Microsoft (depending on which provider you choose) for translation via API. The exact result of their machine translation is then returned to your project. We have no control over what and how Google's and Microsoft's machine translation engines translate.
In case the Google or Microsoft API returns any broken HTML tags to you, you can preview the HTML in your strings to fix it more easily.