A little more optimization work, client-side this time. I lied, no librijnadel2 here, but it's about to be merged in...
<?php
class Text_Wiki_Render_Plain_Heading extends Text_Wiki_Render {
function token($options)
{
if ($options['type'] == 'end') {
return "\n\n";
} else {
return "\n";
}
}
}
?>