After newest Kagi Translate update, the html tags are being sanitazed in the text input box and because of that the traslation will contain broken html. This happens in both versions: free & paid. And before the latest update it worked as it should have.
To replicate the issue, try to translate the following:
<div>This Works</div>
<p>And this</p>
<h1>Testing 1</h1>
<h2>Testing 2</h2>
<h3>Testing 3</h3>
<h4>Testing 4</h4>
<h5>Testing 5</h5>
<h2 class="test">This is even worse, because the ending tag is removed</h2>
<h3 class="test">This is even worse, because the ending tag is removed</h3>
<b>bold</b>
<strong>Strong</strong>
<i>Italics</i>
Only text inside html tags should be translated and the tags should be kept intact. But now the header divs are missing, and if there is a class then only the closing tag is missing. Also bold and italics are missing and probably some other things too.