xsl-list
[Top] [All Lists]

Re: [xsl] xsl on safari?

2011-06-21 03:19:45
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>