bd on 23 Oct 2002 23:38:05 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [spoon-discuss] A Rant.


On Wednesday 23 October 2002 10:16 am, David E. Smith wrote:
> Line breaks don't just appear by themselves, y'know. You have to put in a
> couple of <BR> kinda things, or else everything you write will just run
> together into one massive illegible run-on paragraph.

sub htmlize {
my $message = shift @_;
$message ~= s/</&lt;/;
$message ~= s/>/&gt/;
return "<pre>\n$message\n</pre>";
}

-- 
bd
	The judge fined the jaywalker fifty dollars and told him if he was
caught again, he would be thrown in jail.  Fine today, cooler tomorrow.

_______________________________________________
spoon-discuss mailing list
spoon-discuss@xxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/spoon-discuss