Perlfect Solutions
 

[Perlfect-search] Highlighting: Span-tag in title

Michael Spiess perlfect-search@perlfect.com
Thu, 14 Nov 2002 18:07:44 +0100
Hi!

Is there a chance to avoid the highlighting of keywords in the title?

As formatting is not allowed within the title-tag, the complete <span style
tag> is inserted, which is not looking very good.

Inserting <!--ignore_perlfect_search--> around the <title tag> is no
solution when the keyword is also found in the content of the page.

Result:
<title>This is normal text <span
style="color:black;background:#e5b547">found keyword</span></title>

Regards,
Michael