Gossamer Forum
Home : Products : Links 2.0 : Customization :

Text format not ok by pulling back from database!

Quote Reply
Text format not ok by pulling back from database!
PLEASE HELP..
I use detailed links with dynamic building.
Everything works fine except:

if I paste some text in my detailed field, The formatting is gone, no breaks, just text in one huge line. Can you help me with that??
Record is stored in de Database with single quotes!
Like this:
blablablabla``blablabla
How can I pull it back from the database with the normal formatting???

Already added in SITE_HTML_TEMPLATES this in
sub site_html_detailed
my %rec = @_;
$rec{'Detailed'} =~ s,\n\n,<p>,g;
$rec{'Detailed'} =~ s,\n,<br>,g;

But that is not working with Building Dynamically.Unsure