예제 #1
0
 function unprotectTags(&$string)
 {
     nnProtect::unprotectTags($string, $this->params->protected_tags);
 }
예제 #2
0
 /**
  * replace any protected tags to original
  */
 public static function unprotectForm(&$string, $tags = array())
 {
     // Protect entire form
     if (empty($tags)) {
         nnProtect::unprotect($string);
         return;
     }
     nnProtect::unprotectTags($string, $tags);
 }