Merge pull request #10098 from annando/parseurl-html
ParseUrl: Avoid HTML in returned content
This commit is contained in:
commit
cefeb02517
|
@ -714,7 +714,7 @@ class ParseUrl
|
|||
|
||||
array_walk_recursive($siteinfo, function (&$element) {
|
||||
if (is_string($element)) {
|
||||
$element = html_entity_decode($element, ENT_COMPAT, 'UTF-8');
|
||||
$element = trim(strip_tags(html_entity_decode($element, ENT_COMPAT, 'UTF-8')));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue