function claro_html_sanitize_editor($str) { static $san = null; if (empty($san)) { $san = new Claro_Html_Sanitizer(); $san->allowObjects(); } return $san->sanitize($str); }