Gossamer Forum
Home : Products : DBMan : Installation :

tags.. how to get rid of?

Quote Reply
tags.. how to get rid of?
Whenever I do a search I get the <b></b> tags, instead of the intended bold display on the search word. How do I display the bold instead of the tags?
Quote Reply
Re: tags.. how to get rid of? In reply to
You have to add the following codes to the top of your sub html_record routine in your html.pl file:

Code:
$rec{'$db_key'} =~ s/<?.B>//g;
$rec{'FieldName'} =~ s/<?.B>//g;

AFTER the following codes:

Code:
my (%rec) = @_;

Change FieldName to the field where the bold tags appear.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: tags.. how to get rid of? In reply to
Thanks Eliot for your help. It seems you help a lot of people on this board. I got rid of the nasty <b> tags. (but was this not intended to be bold?)