includes/wikiengine/Render/Plain/Html.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_Html extends Text_Wiki_Render {
    
    
    /**
    * 
    * Renders a token into text matching the requested format.
    * 
    * @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 strip_tags($options['text']);
    }
}
?>