Created attachment 202854 [details] Compare EN FR Open LO with French UI, open "Outils" - "AutoTexte". Under "Carte de visit" click 1st one "Classique.." as in screenshot. English UI has preview and it works (also German), while not in French UI. For some reason, templates are not the same.
On pc Debian x86-64 with master sources updated today, I could reproduce this. Comparing CLA2 (the one which fails) with other CLAs (like CLA1 or CLA3), I noticed content.xml from CLA2 used: office:document-content office:version="1.2" whereas the other used: <office:document-content office:class="text" office:version="1.0"> Laurent: thought you might have some idea here.
(extras/source/autotext/lang/fr/crdbus50/CLA2/content.xml compared to extras/source/autotext/lang/fr/crdbus50/CLA1/content.xml)
(In reply to Julien Nabet from comment #2) > (extras/source/autotext/lang/fr/crdbus50/CLA2/content.xml > compared to > extras/source/autotext/lang/fr/crdbus50/CLA1/content.xml) extras/source/autotext/lang/en-US/crdbus50/ELE1/content.xml is also in version 1.0 But I will check this week-end. At least, these files should be indented to ease debug. I will check this week-end, if I find time.
I forgot to tell that the pb was in CLA2 (which uses version 1.2) and not on the other CLA (like CLA1 or CLA3 which use version 1.0) So the pb is the use of version 1.2
Laurent Balland committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/bec34a62921feccd4a6c0ae13e0338b213921b8a tdf#168444 Fix XML in content.xml It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Laurent Balland committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/d1e0f1ca1d9bbb810018df753f9529d3044c2f59 tdf#168444 Fix XML in content.xml It will be available in 25.8.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
On pc Debian x86-64 with master sources updated today, I don't reproduce this anymore. Thank you Laurent!