Re: [xsl] xsl on safari?

Subject: Re: [xsl] xsl on safari?
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Tue, 21 Jun 2011 09:19:34 +0100
>Windows 7, and also in Safari on an iPad and Firefox in Linux. It breaks in ways I can't figure out >in Safari on MacOS and Windows.
>

It does look like a bug in the browser...

I think you can work around it by changing your <p> to <div>s here:

    <xsl:template match="p" mode="text">
        <p>
           <xsl:apply-templates mode="text"/>
        </p>
    </xsl:template>

to

    <xsl:template match="p" mode="text">
        <div>
           <xsl:apply-templates mode="text"/>
        </div>
    </xsl:template>


-- 
Andrew Welch
http://andrewjwelch.com

Current Thread