Huge improvements to the template_nodb class and surrounding code; moved template compiler core to its own non-classed function to allow code re-use
<?php
class Text_Wiki_Render_Plain_Heading extends Text_Wiki_Render {
function token($options)
{
if ($options['type'] == 'end') {
return "\n\n";
} else {
return "\n";
}
}
}
?>