includes/wikiengine/Render/Plain/Heading.php
author Dan
Wed, 09 Jul 2008 13:20:49 -0400
changeset 610 de33b0d26741
parent 1 fe660c52c48f
permissions -rw-r--r--
Fixed gzip output - no longer depends on ob_gzhandler(), uses gzencode() now with a failsafe available if gzencode() is not available. Public function gzip_output() remains unchanged.

<?php

class Text_Wiki_Render_Plain_Heading extends Text_Wiki_Render {
    
    function token($options)
    {
        if ($options['type'] == 'end') {
            return "\n\n";
        } else {
            return "\n";
        }
    }
}
?>