Gossamer Forum
Home : Products : DBMan : Customization :

No carrige returns

Quote Reply
No carrige returns
Hi!
The record fields do no diplay an carrige returns or blanks when viewing the records.
Is there any way to enforce this?

Otherwise this would be a good feature for the next release.
Quote Reply
Re: No carrige returns In reply to
The carriage returns are there, but they don't show up when the text is displayed in html.

The way to make them show up is in html_record (html.pl script), just after

my (%rec) = @_;

add

$rec{'Text'} =~ s/\n/<br>/g;

replacing "Text" with the name of the field where you might have carriage returns. You'll need to have a line like this for each of the fields that might have a carriage return, i.e., textarea fields.



------------------
JPD
Quote Reply
Re: No carrige returns In reply to
Thanks a lot for this hint! This helped...