<div dir="ltr">Since updating my PyQt5 from version 5.15.4 to PySide6 (and I've confirmed that this issue is also present in 5.15.5, so the issue originated there), ampersand symbols in the existing .ts files have begun being replaced by "&amp", even when the ampersand symbols are being used as escape characters. This occurs in the "translation" lines only, not the "source" lines. This is an issue when HTML formatting is used.<div><br></div><div>For example, I used to have an entry:</div><div>```</div><div>





    <message><br>        <location filename="../../xslide-desktop/xslide_desktop/views/Ui_MainWindow.py" line="2655"/><br>        <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Background File<br>&lt;br&gt;<br>(optional)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source><br>        <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;バックグラウンドファイル<br>&lt;br&gt;<br>(任意)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation><br>    </message></div><div>```</div><div><br></div>It now gets replaced by:<br><br>```<br>    <message><br>        <location filename="../../xslide-desktop/xslide_desktop/views/Ui_MainWindow.py" line="2655"/><br>        <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Background File<br>&lt;br&gt;<br>(optional)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source><br>        <translation type="obsolete">&amp;lt;html&amp;gt;&amp;lt;head/&amp;gt;&amp;lt;body&amp;gt;&amp;lt;p&amp;gt;バックグラウンドファイル<br>&amp;lt;br&amp;gt;<br>(任意)&amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;</translation><br>    </message><br>```<br><br>After converting this to the .qm file and running the application, the translation shows up in my application with the html code.<div><br></div><div>To workaround this, I'm using pylupdate5 from version 5.15.4 to generate my translation files. But obviously it'd be nicer to use the latest version.<br><br>Efrem Braun</div></div>