/**
 * Textile Addon
 *  
 * @author markus[dot]staab[at]redaxo[dot]de Markus Staab
 * 
 * @package redaxo4
 * @version $Id: function_textile.inc.php,v 1.1 2008/03/26 13:34:13 kills Exp $
 */
function rex_a79_textile($code)
{
    $textile = rex_a79_textile_instance();
    return $textile->TextileThis($code);
}
/**
 * Textile Addon
 *
 * @author markus[dot]staab[at]redaxo[dot]de Markus Staab
 *
 * @package redaxo4
 * @version svn:$Id$
 */
function rex_a79_textile($code, $restricted = false, $doctype = 'xhtml')
{
    $textile = rex_a79_textile_instance($doctype);
    return $restricted == false ? $textile->TextileThis($code) : $textile->TextileRestricted($code);
}