<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 "&", 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><html><head/><body><p>Background File<br><br><br>(optional)</p></body></html></source><br> <translation><html><head/><body><p>バックグラウンドファイル<br><br><br>(任意)</p></body></html></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><html><head/><body><p>Background File<br><br><br>(optional)</p></body></html></source><br> <translation type="obsolete">&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><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>