Skip to content

Commit

Permalink
#4383 validation error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Zabi09 committed Apr 25, 2020
1 parent 519147a commit ebc6d20
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pagebuilder/inc/viewShowFrontData.php
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,6 @@ function amppb_validateCss($css){
$css = str_replace(array('.amppb-fluid','.amppb-fixed','.accordion-mod'), array('.ap-fl','.ap-fi','.apac'), $css);
$css = preg_replace('/(([a-z -]*:(\s)*;))/', "", $css);
$css = preg_replace('/((;[\s\n;]*;))/', ";", $css);
$css = preg_replace('/(?:[^\r\n,{}]+)(?:,(?=[^}]*{,)|\s*{[\s]*})/', "", $css);
$css = preg_replace('/\s\n+/', "", $css);
return ampforwp_pb_autoCompileLess($css);
}
Expand Down

0 comments on commit ebc6d20

Please sign in to comment.