Skip to content

Commit 3fa2879

Browse files
committed
Removed cleaning of smarty tags
1 parent 6660555 commit 3fa2879

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/PHPHtmlParser/Dom.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,6 @@ protected function clean($str)
366366
// strip out server side scripts
367367
$str = preg_replace("'(<\?)(.*?)(\?>)'s", '', $str);
368368

369-
// strip smarty scripts
370-
$str = preg_replace("'(\{\w)(.*?)(\})'s", '', $str);
371-
372369
return $str;
373370
}
374371

0 commit comments

Comments
 (0)