View Single Post
Old 02-28-2005, 01:37 AM   #3
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
FaberFedor noticed that dashed words such as foo-bar are not considered one word in PhpDig v.1.8.7.

To fix, in robot_functions.php find the phpdigCleanHtml function, and in this function find:
Code:
//replace foo characters by space
$text = eregi_replace("[*{}()\"\r\n\t-]+"," ",$text);
And replace that with the following:
Code:
//replace foo characters by space
$text = eregi_replace("[*{}()\"\r\n\t]+"," ",$text);
If you downloaded PhpDig v.1.8.7 after the date of this post, the changes are already included in the package.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline