Commits

Elisha Cook committed c03c62f

Use less destructive method of safe tag removal

Comments (0)

Files changed (1)

                 }
                 else
                 {
-                    $arr[$k] = strip_tags($v);
+                    $arr[$k] = preg_replace('@<[^<]+?(\s+)?>([\s>]+)?@', '', $v);
                 }
             }
         }