Gossamer Forum
Home : Products : DBMan : Installation :

Return of bolded text in URLs

Quote Reply
Return of bolded text in URLs
I have found the information I need to stop bolded text messing up URL and Email links by using:

$rec{'Fieldname'} =~ s/<?.B>//g;

However, I haven't found out how to have bolded text in these two fields without messing up the link with <B> tags. I've seen other sites that have accomplished this. How is it done?
Quote Reply
Re: Return of bolded text in URLs In reply to
Uh...You replace FieldName with URL and Email, so it would like the following:

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

Place these codes at the top of your sub html_record and/or sub html_record_long in your html.pl file AFTER the following codes:

Code:
($db_auto_generate and print &build_html_record(%rec) and return);

Hope this helps.

Regards,

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


Quote Reply
Re: Return of bolded text in URLs In reply to
Yes, I have that already. I just used "Fieldname" as the generic example. If the search word is in the EMAIL or URL it is not bolded and the link is clean. What I would like is to have the text bolded in the URL or EMAIL without having the bold tags surrounding it destroying the link. I have seen this in sample sites listed like http://www.gatheringspot.com/acappella/.