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

inserting HTML formatting

Quote Reply
inserting HTML formatting
In a previous post on how to allow HTML formatting into the description field, Alex said:

"....Formatting will be preserved, however it won't insert HTML for you. So if a user enters in text with newlines, when displayed in HTML the newlines won't be shown. You'll need to do a s/\n/<BR>/g; in perl to covernt newlines to html <BR> tags."

My knowdledge of PERL is still at the "knowing just enough to be dangerous" level so could someone provide a more detailed explaination such as which file to update (add.cgi?) and where/how in the script to insert the s/\n/<BR>/g ?

Thanks in advance!
Subject Author Views Date
Thread inserting HTML formatting rholmin 19428 Nov 7, 1999, 7:47 PM
Post Re: inserting HTML formatting
Alex 19101 Nov 7, 1999, 9:20 PM
Post Re: inserting HTML formatting
Digital Concepts 19103 Nov 7, 1999, 10:06 PM
Post Re: inserting HTML formatting
rholmin 19134 Nov 8, 1999, 7:07 AM
Post Re: inserting HTML formatting
pugdog 19108 Nov 8, 1999, 10:42 AM
Post Re: inserting HTML formatting
rholmin 19111 Nov 8, 1999, 5:04 PM
Post Re: inserting HTML formatting
rholmin 19113 Nov 8, 1999, 5:14 PM
Post Re: inserting HTML formatting
Alex 19121 Nov 8, 1999, 7:23 PM
Post Re: inserting HTML formatting
rholmin 19119 Nov 9, 1999, 7:17 PM
Post Re: inserting HTML formatting
hostglobal 19110 Dec 7, 1999, 5:14 PM
Post Re: inserting HTML formatting
hostglobal 19108 Dec 7, 1999, 5:33 PM
Post Re: inserting HTML formatting
Alex 19115 Dec 9, 1999, 4:16 PM
Thread Re: [rholmin] inserting HTML formatting
cdkrg 18959 Oct 5, 2003, 9:54 PM
Thread Re: [cdkrg] inserting HTML formatting
Andy 19007 Oct 6, 2003, 1:21 AM
Post Re: [Andy] inserting HTML formatting
cdkrg 18965 Oct 6, 2003, 1:27 AM