Correction detection HTML
This commit is contained in:
parent
6ebdf5460b
commit
50e34ac9e2
@ -163,14 +163,14 @@ function infogreffeKbis($ref)
|
||||
$output = removeTag('script', $output, true, true);
|
||||
|
||||
preg_replace(
|
||||
'/\<link href="\/infogreffe\/styles\/infogreffe_base\.css" type="text\/css" rel="stylesheet">/',
|
||||
'<link href="./styles/infogreffe_base.css" type="text/css" rel="stylesheet">',
|
||||
'/\<link rel="stylesheet" type="text\/css" href="\/infogreffe\/styles\/infogreffe_base.css">/',
|
||||
'<link href="../styles/infogreffe_base.css" type="text/css" rel="stylesheet">',
|
||||
$output
|
||||
);
|
||||
|
||||
preg_replace(
|
||||
'/\<link href="\/infogreffe\/styles\/infogreffe\.css" type="text\/css" rel="stylesheet">/',
|
||||
'<link href="./styles/infogreffe.css" type="text/css" rel="stylesheet"><link href="./styles/style.css" type="text/css" rel="stylesheet">',
|
||||
'/\<link rel="stylesheet" type="text\/css" href="\/infogreffe\/styles\/infogreffe.css">/',
|
||||
'<link href="../styles/infogreffe.css" type="text/css" rel="stylesheet"><link href="../styles/style.css" type="text/css" rel="stylesheet">',
|
||||
$output
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user