mirror of
https://github.com/manualdousuario/marreta.git
synced 2026-04-30 20:40:13 +00:00
simplifica o sistema de regras globais e por dominio
This commit is contained in:
parent
a51e309196
commit
0ba05af969
3 changed files with 106 additions and 107 deletions
|
|
@ -804,7 +804,7 @@ class URLAnalyzer
|
|||
foreach ($elements as $element) {
|
||||
if ($element instanceof DOMElement) {
|
||||
$style = $element->getAttribute('style');
|
||||
$style = preg_replace('/(max-height|height|overflow|position|display)\s*:\s*[^;]+;?/', '', $style);
|
||||
$style = preg_replace('/(max-height|height|overflow|position|display|visibility)\s*:\s*[^;]+;?/', '', $style);
|
||||
$element->setAttribute('style', $style);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue