[Zope] Still an error in Structured text: Correciton of the Correction
Robert Rottermann
robert@redcor.ch
Tue, 6 Nov 2001 07:04:49 +0100
Andreas,
unfortunately you did not add the "corrected" version to CVS.
it is
return (StructuredTextInnerLink(s[start2+1:end2-1]),start2,end2)
You can test it with:
Some words [hhh] on a line
.. [hhh] directly following
which should render:
<p>Some words <a href="#hhh">[hhh]</a> on a line
<a name="hhh">[hhh]</a> directly following</p>
Robert
----- Original Message -----
From: "Andreas Jung" <andreas@andreas-jung.com>
To: "Robert Rottermann" <robert@redcor.ch>; <zope@zope.org>
Sent: Monday, November 05, 2001 11:22 PM
Subject: Re: [Zope] Still an error in Structured text: Correciton of the
Correction
> It's now in the CVS.
>
> Thanks,
> Andreas
> ----- Original Message -----
> From: "Robert Rottermann" <robert@redcor.ch>
> To: <zope@zope.org>
> Sent: Monday, November 05, 2001 17:11
> Subject: Re: [Zope] Still an error in Structured text: Correciton of the
> Correction
>
>
> > line 908 of DocumentClass.py must read:
> > return (StructuredTextInnerLink(s[start2+1:end2-1]),start2,end2)
> >
> > ----- Original Message -----
> > From: "Robert Rottermann" <robert@redcor.ch>
> > To: <zope@zope.org>
> > Sent: Monday, November 05, 2001 10:52 PM
> > Subject: [Zope] Still an error in Structured text
> >
> >
> > > Line 908 of DocumentClass.py still reads:
> > > return (StructuredTextInnerLink(s[start2+1,end2-1],start2,end2))
> > >
> > > it should be:
> > > return (StructuredTextInnerLink(s[start2+1:end2-1],start2,end2))
> > >
> > > note the colon in [start2+1:end2-1]
> > >
> > > Robert
> > >
> > >
> > > _______________________________________________
> > > Zope maillist - Zope@zope.org
> > > http://lists.zope.org/mailman/listinfo/zope
> > > ** No cross posts or HTML encoding! **
> > > (Related lists -
> > > http://lists.zope.org/mailman/listinfo/zope-announce
> > > http://lists.zope.org/mailman/listinfo/zope-dev )
> > >
> >
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>