Search highlights breaks <a title> attribute

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
brianoz
Posts: 7
Joined: Tue Mar 22, 2005 2:17 pm
Location: Melbourne, Australia
Contact:

Search highlights breaks <a title> attribute

Post by brianoz »

When searching for a term in phpmyfaq 1.4, if the term is found in a <a> title attribute, the search term is highlighted in the title with <span >...</span>, which breaks the displayed HTML in an ugly way.

The term I was searching for had two words in it, don't know if that was relevant. I'm sure the fix is relatively easy, and this isn't a major bug, but thought you'd like to know.

Apologies in advance if this is already fixed!

Thanks for the great work, can't wait for 1.5!
Thorsten
Posts: 15746
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

which version did you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
brianoz
Posts: 7
Joined: Tue Mar 22, 2005 2:17 pm
Location: Melbourne, Australia
Contact:

Post by brianoz »

which version did you use?
1.4.7
Thorsten
Posts: 15746
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

okay, I'll check this. You should upgrade to 1.4.9 as soon as possible due to a security issue in the bundled XML-RPC libary.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
brianoz
Posts: 7
Joined: Tue Mar 22, 2005 2:17 pm
Location: Melbourne, Australia
Contact:

Post by brianoz »

I deleted the bundled xml-rcp library until I upgrade to 1.5, to save upgrading twice, but thanks :)
Post Reply