@@ -21,8 +21,8 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | public function purify($content, $tags) { |
| 23 | 23 | |
| 24 | - if(!empty($tags)) { |
|
| 25 | - foreach($tags as $tag) |
|
| 24 | + if (!empty($tags)) { |
|
| 25 | + foreach ($tags as $tag) |
|
| 26 | 26 | { |
| 27 | 27 | $content = preg_replace("/<\\/?" . $tag . "(.|\\s)*?>/", '', $content); |
| 28 | 28 | } |