includes/wikiengine/Render/Plain/Heading.php
author Dan
Sat, 15 Dec 2007 18:11:59 -0500
changeset 260 c0d855cfaf0e
parent 1 fe660c52c48f
permissions -rw-r--r--
Set Content-type on AJAX login key request to application/json to hopefully block ad injection

<?php

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