@@ -78,12 +78,12 @@ class External extends FreelinkingPluginBase implements ContainerFactoryPluginIn
$element['scrape']=[
'#type'=>'radios',
'#title'=>$this->t('Scrape external URLs'),
'#description'=>$this->t('Should freelinking try to scrape external URLs?'),
'#description'=>$this->t('Should freelinking try to scrape external URLs? Warning: this will expose the page title of remote web pages accessible to your web server.'),
'#options'=>[
'0'=>$this->t('No'),
'1'=>$this->t('Yes'),
],
'#default_value'=>$settings['scrape']??'1',
'#default_value'=>$settings['scrape']??'0',
];
return$element;
}
@@ -108,7 +108,7 @@ class External extends FreelinkingPluginBase implements ContainerFactoryPluginIn
];
// Get the page title from the external URL or use the target text.