summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2017-10-05 17:32:34 +0100
committerGitHub <[email protected]>2017-10-05 17:32:34 +0100
commit802c9f9c76504334457c78ee0d1221afeec85e35 (patch)
treec00fab787318035c274fbbb03241c6e6afaeb4d1
parentd53c55ccb3bda6f015aac7b3ded83a64384f0c46 (diff)
parent7ff5b2b1c2ad8ff0deaf3a98eb4456466a87eba0 (diff)
Merge pull request #25 from andreskrey/analysis-XVAQP3
Apply fixes from StyleCI
-rw-r--r--src/HTMLParser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTMLParser.php b/src/HTMLParser.php
index 903e466..6f76a25 100644
--- a/src/HTMLParser.php
+++ b/src/HTMLParser.php
@@ -213,7 +213,7 @@ class HTMLParser
$html = mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8');
}
- if($this->getConfig()->getOption('summonCthulhu')){
+ if ($this->getConfig()->getOption('summonCthulhu')) {
$html = preg_replace('/<script\b[^>]*>([\s\S]*?)<\/script>/', '', $html);
}