3
From class/module.textsanitizer.php:
/**
* Filters textarea form data in DB for display
*
* @param string $text
* @param bool $html allow html?
* @param bool $smiley allow smileys?
* @param bool $xcode allow xoopscode?
* @param bool $image allow inline images?
* @param bool $br convert linebreaks?
* @return string
**/
function &displayTarea(&$text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1)
Try this:
$myts = myTextSanitizer::getInstance();
$newtext = $myts->displayTarea($text, 0, 0, 0, 0, 0);