includes/wikiengine/Render/Plain/Heading.php
author Dan
Thu, 26 Jun 2008 20:59:23 -0400
changeset 297 4f0f987717c6
parent 1 fe660c52c48f
permissions -rw-r--r--
Fixed E_STRICT under PHP 5 and 6 (reference operator in instanciation)

<?php

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