@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // Needed for isolated tests |
| 3 | -require_once __DIR__.'/../vendor/autoload.php'; |
|
| 3 | +require_once __DIR__ . '/../vendor/autoload.php'; |
|
| 4 | 4 | |
| 5 | 5 | ini_set('precision', 14); |
| 6 | 6 | ini_set('serialize_precision', 14); |
@@ -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 | } |