Corriger une erreur dans la récupération de segments contenant d'autres balises

This commit is contained in:
Philippe Tourigny 2024-07-27 12:48:32 +09:00
parent 14da89ab89
commit f1d2cf76dc

View File

@ -12,6 +12,9 @@
fix awkward indentation. --> fix awkward indentation. -->
<!-- Philippe Tourigny, modified 5-6-2023, version 0.97 <!-- Philippe Tourigny, modified 5-6-2023, version 0.97
Refactor code to use templates. --> Refactor code to use templates. -->
<!-- Philippe Tourigny, modified 26-7-2024, version 0.97.1
Fix incorrect retrieval of text in segments with
content format tags. -->
<!-- Copyright 2013 Dominique Meeùs, and 2022 Philippe Tourigny. <!-- Copyright 2013 Dominique Meeùs, and 2022 Philippe Tourigny.
This program is free software: you can redistribute it and/or modify it This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License under the terms of the GNU Lesser General Public License
@ -127,7 +130,7 @@
<xsl:template match="tuv" mode="text"> <xsl:template match="tuv" mode="text">
<table:table-cell table:style-name="ce2"> <table:table-cell table:style-name="ce2">
<text:p> <text:p>
<xsl:value-of select="seg"/> <xsl:value-of select="seg/text()"/>
</text:p> </text:p>
</table:table-cell> </table:table-cell>
</xsl:template> </xsl:template>