Thread Starter
Goulu
(@goulu)
Well, in fact it’s not directly a problem with the plugin, it’s related to PHP : the ereg function is now deprecated so another function called preg_match must be used instead.
SO I just changed line 106 of the openbook_utilities.php file as such :
//test if 10 or 13 digits ISBN
function openbook_utilities_validISBN($testisbn) {
return (preg_match (“/([0-9]{10})/”, $testisbn, $regs) || preg_match (“/([0-9]{13})/”, $testisbn, $regs));
}
and it works again ! 🙂
Thread Starter
Goulu
(@goulu)
[latex]x^2[latex] generates inline equations, but $$x^2$$ doesn't anymore.
Anyone knows why before I replace all $$ in my blog ? Thanks!
thanks rzul ! That’s exactly what I’m looking for, but where should I insert your code ?