I love the way SmartyPants? makes web pages with better typographic entity. Most of blogtools have used this plugin and I think Wiki should do too. So I try to manipulate Tavi's page using [PHP SmartyPants] using these steps:

  1. Download and unzip Michel Fortin's PHP SmartyPants.
  2. Move smartypants.php into Tavi's installation directory. I prefer to place it in <tavidir>/tools.
  3. Modify action/view.php:
    • add include_once('tools/smartypants.php'); after some require() above.
    • in template_view function (line 23), change 'html' => parseText($pg->text, $ParseEngine, $page)) into 'html' => SmartyPants(parseText($pg->text, $ParseEngine, $page))).