Josip Rodin wrote: > On Mon, May 28, 2001 at 03:30:51PM +0200, Martin Schulze wrote: > > > > Thus what do you think about this patch for such situations? > > > > In short, slices will be added a space at the end of a line when > > > > the a slice is splitted. > > > [...] > > > > +<: > > > > +my $slices = q{ > > > > [EN:See the Debian <A href="$(HOME)/contact">contact page</A> > > > > for information on contacting us.:] > > > [...] > > > > [RU:óÍÏÔÒÉÔÅ ËÁË Ó ÎÁÍÉ Ó×ÑÚÁÔØÓÑ ÎÁ ÓÔÒÁÎÉÃÅ <A > > > > href="$(HOME)/contact">ËÁË Ó ÎÁÍÉ Ó×ÑÚÁÔØÓÑ</A>.:] > > > > +}; > > > > +$slices =~ s/([^:][^ \]])\n/$1 \n/g; > > > > +print $slices; > > > > +:> > > > > > > Presuming it works... I'm in no condition right now to be able to figure > > > out > > > that regexp, too much partying :) > > > > I've tested it before I posted it. However I failed to find a page > > that used <sendcomments> so I had to create one of my own. > > Uh, how do you mean? The footer template includes it, so a large amount of > pages use it...
Yes, the footer includes it, hided into some scary if^Wwhen and it isn't used most of the time. So I gave up quickly and hacked up my very own example. Regards, Joey -- If you come from outside of Finland, you live in wrong country. -- motd of irc.funet.fi