includes/wikiengine/Render/Plain/Wikilink.php
author Dan
Fri, 21 Aug 2009 11:50:22 -0400
changeset 330 acf430dc25e7
parent 1 fe660c52c48f
permissions -rw-r--r--
SECURITY: Comments: fix poor sanitization of subject on initial submit

<?php

class Text_Wiki_Render_Plain_Wikilink extends Text_Wiki_Render {
    
    
    /**
    * 
    * Renders a token into plain text.
    * 
    * @access public
    * 
    * @param array $options The "options" portion of the token (second
    * element).
    * 
    * @return string The text rendered from the token options.
    * 
    */
    
    function token($options)
    {
        return $options['text'];
    }
}
?>