includes/wikiengine/Render/Plain/Heading.php
author Dan
Mon, 16 Jun 2008 19:07:15 -0400
changeset 577 5118610ce160
parent 1 fe660c52c48f
permissions -rw-r--r--
Made template parser remember last initted page_id and namespace to avoid double init; made additional_headers reassign only do so if $template->additional_headers is empty (it's being blanked somehow, need to come up with a backtrace sometime)

<?php

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