speedata / publisher

speedata Publisher - a professional database Publishing system
https://www.speedata.de/
GNU Affero General Public License v3.0
292 stars 36 forks source link

Underline in decode-html not working #581

Closed pgundlach closed 1 month ago

pgundlach commented 1 month ago

4.19.4

data.xml

<data>
    <a>&lt;u>Hello, world&lt;/u></a>
    <a>&lt;b>Hello, world&lt;/b></a>
</data>

layout.xml:

<Layout xmlns="urn:speedata.de:2009/publisher/en"
    xmlns:sd="urn:speedata:2009/publisher/functions/en">
    <Pageformat height="4cm" width="5cm"></Pageformat>
    <Record element="data">
        <PlaceObject>
            <Textblock>
                <ForAll select="a">
                    <Paragraph>
                        <Value select="sd:decode-html(.)"></Value>
                    </Paragraph>
                </ForAll>
            </Textblock>
        </PlaceObject>
    </Record>
</Layout>

got

incorrect

expected

expected