Re: Authorship and formatting fixes on the versioning document I wrote

Laurence Rowe <[email protected]>
Newsgroups gmane.comp.web.zope.plone.documentation
Message-ID <[email protected]>
On 15 February 2010 11:25, Alexander Limi <limi-z4DKO/[email protected]> wrote:
> On Mon, Feb 15, 2010 at 1:24 AM, Laurence Rowe <[email protected]> wrote:
>>
>> Scratch that. I just realised I can do a string replacement on text
>> within a <pre> to remove the CR chars.
>
> Ah, nice. And we're running "your" stack on plone.org now, right? So this is
> something we could have fixed in reasonable time, I assume? (ie. we don't
> have to wait for a new release of libxml, etc)

I've added the following to default-extra.xsl, run buildout to update
the compiled xsl, reloaded nginx and cleared the varnish cache.

|    <xsl:template match="pre/text()"
xmlns:str="http://exslt.org/strings" mode="initial-stage">
|        <xsl:value-of select="str:replace(., '&#13;', '')"/>
|    </xsl:template>

Those pesky CR are now gone and it looks fine in Firefox.

Laurence

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.