Gossamer Forum
Home : Products : DBMan : Customization :

Problems with eliminating bold output

Quote Reply
Problems with eliminating bold output
Hi,

one of my fields (Name) is suppose to be a hyperlink. Not to a html page, but to a jpg. The Problem is that in the source code, the link is bold

<TR><TD><Font face="Univers, Arial, Helvetica" Size=2><a href="http://bilder/<B>Name</B><B></B>.jpg" style="text-decoration:none"><B>Name</B><B></B></a>

even though in the html.pl I deleted all <B>

this is the line in sub html_record
<TR><TD><$font><a href="$img_url/$rec{'Name'}.jpg" style="text-decoration:none">$rec{'Name'}</a>

Where does this come from ??

Thanks for help
Quote Reply
Re: [Andrea1] Problems with eliminating bold output In reply to
Not sure where it has come from (I think others have experienced this before) but you can remove it with:

$rec{Name} =~ s,</?b>,,ig;

Last edited by:

RedRum: Nov 14, 2001, 8:46 AM
Quote Reply
Re: [RedRum] Problems with eliminating bold output In reply to
Thx, I changed it to "B>" and it workedSmile
Quote Reply
Re: [Andrea1] Problems with eliminating bold output In reply to
It makes no difference - notice the ig at the end of my code...the i means case insensitive.
Quote Reply
Re: [RedRum] Problems with eliminating bold output In reply to
Blushoops
Quote Reply
Re: [Andrea1] Problems with eliminating bold output In reply to
Anyway glad it worked. Angelic

Last edited by:

RedRum: Nov 14, 2001, 9:11 AM