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

Re: inserting HTML formatting

Quote Reply
Re: inserting HTML formatting In reply to
Ooops, what was I thinking. You don't want:

$in->{Description} =~ s/\n/<BR>/g;

But:

$rec->{Description} =~ s/\n/<BR>/g;

However I think you may be confused. All you are doing here is replacing newlins with <br> tags. You do this because in HTML, newlines are not displayed. Extra whitespace is just ignored. So the record may look weird when you view it through email.

Cheers,

Alex
Subject Author Views Date
Thread inserting HTML formatting rholmin 19560 Nov 7, 1999, 7:47 PM
Post Re: inserting HTML formatting
Alex 19230 Nov 7, 1999, 9:20 PM
Post Re: inserting HTML formatting
Digital Concepts 19233 Nov 7, 1999, 10:06 PM
Post Re: inserting HTML formatting
rholmin 19263 Nov 8, 1999, 7:07 AM
Post Re: inserting HTML formatting
pugdog 19237 Nov 8, 1999, 10:42 AM
Post Re: inserting HTML formatting
rholmin 19240 Nov 8, 1999, 5:04 PM
Post Re: inserting HTML formatting
rholmin 19242 Nov 8, 1999, 5:14 PM
Post Re: inserting HTML formatting
Alex 19250 Nov 8, 1999, 7:23 PM
Post Re: inserting HTML formatting
rholmin 19247 Nov 9, 1999, 7:17 PM
Post Re: inserting HTML formatting
hostglobal 19238 Dec 7, 1999, 5:14 PM
Post Re: inserting HTML formatting
hostglobal 19236 Dec 7, 1999, 5:33 PM
Post Re: inserting HTML formatting
Alex 19243 Dec 9, 1999, 4:16 PM
Thread Re: [rholmin] inserting HTML formatting
cdkrg 19088 Oct 5, 2003, 9:54 PM
Thread Re: [cdkrg] inserting HTML formatting
Andy 19137 Oct 6, 2003, 1:21 AM
Post Re: [Andy] inserting HTML formatting
cdkrg 19095 Oct 6, 2003, 1:27 AM