|
@@ -87,7 +87,7 @@ discard block |
|
|
block discarded – undo |
|
87
|
87
|
$srcHost = parse_url($src, PHP_URL_HOST); |
|
88
|
88
|
$srcScheme = parse_url($src, PHP_URL_SCHEME); |
|
89
|
89
|
|
|
90
|
|
- return $match || preg_match('@' . $domain . '$@i', $srcHost) && in_array($srcScheme, ['http', 'https']); |
|
|
90
|
+ return $match || preg_match('@'.$domain.'$@i', $srcHost) && in_array($srcScheme, ['http', 'https']); |
|
91
|
91
|
}); |
|
92
|
92
|
|
|
93
|
93
|
if ($match) { |
|
@@ -134,10 +134,10 @@ discard block |
|
|
block discarded – undo |
|
134
|
134
|
$stopWords = $this->config()->getStopWords()->getCurrentStopWords(); |
|
135
|
135
|
|
|
136
|
136
|
$text = $this->article()->getTitle(); |
|
137
|
|
- $text .= ' ' . $this->article()->getMetaDescription(); |
|
|
137
|
+ $text .= ' '.$this->article()->getMetaDescription(); |
|
138
|
138
|
|
|
139
|
139
|
if ($this->article()->getTopNode()) { |
|
140
|
|
- $text .= ' ' . $this->article()->getCleanedArticleText(); |
|
|
140
|
+ $text .= ' '.$this->article()->getCleanedArticleText(); |
|
141
|
141
|
} |
|
142
|
142
|
|
|
143
|
143
|
// Decode and split words by white-space |
Please login to merge, or discard this patch.