Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

template.pm bug?

Quote Reply
template.pm bug?
whenever i put a tag in front of a ">" no matter how many spaces i put the ">" always ends up RIGHT behind the tag..

what i was doing was

<%site_title%> > <%Title%>

put in the source it always ended up like

PDAmania> Someboringsite..

this code is obviously what is changing the tags..

Code:
$temp =~ s/$begin\s*(.+?)\s*$end/
if (exists $self->{'vars'}{$1}) {
ref ($self->{'vars'}{$1}) eq 'CODE' ?
&{$self->{'vars'}{$1}}($self->{'vars'}) : $self->{'vars'}{$1};
}
else { "Unkown Tag: $1"; }
/goe;

but it doesn't look like it will cause any problems..

alex.. i'm guessing somewhere it delete all the spaces..

possibly the fact i'm using that compact file thing in Links.pm

jerry
Subject Author Views Date
Thread template.pm bug? widgetz 2412 Dec 5, 1999, 7:19 PM
Post Re: template.pm bug?
widgetz 2333 Dec 5, 1999, 7:22 PM
Post Re: template.pm bug?
Michael_Bray 2340 Dec 6, 1999, 1:33 AM
Post Re: template.pm bug?
Alex 2338 Dec 6, 1999, 10:49 AM
Post Re: template.pm bug?
lordmouse 2332 Dec 6, 1999, 10:56 AM
Post Re: template.pm bug?
widgetz 2328 Dec 6, 1999, 12:21 PM