$xxx$ を &tex(xxx); に置換
./lib/convert_html.php
の838-840あたりに
if (substr($line, 0, 1) != ' ') { $line = preg_replace('/\$([^\$]+?)\$/', "&math(\\1);", $line); }