Esempio n. 1
0
 /**
  * Clean a string of html that may be used as file content
  *
  * @param string $text The string to be cleansed. Passed by reference
  */
 public static function CleanText(&$text)
 {
     \gp\tool\Editing::tidyFix($text);
     self::rmPHP($text);
     self::FixTags($text);
     $text = \gp\tool\Plugins::Filter('CleanText', array($text));
 }