Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to remove the empty css generated by Pagebuilder #2473

Closed
MohammedKaludi opened this issue Aug 24, 2018 · 1 comment
Closed

Need to remove the empty css generated by Pagebuilder #2473

MohammedKaludi opened this issue Aug 24, 2018 · 1 comment
Assignees
Milestone

Comments

@MohammedKaludi
Copy link
Collaborator

Need to remove the empty css generated by Pagebuilder

// this will fix the issue
$css = preg_replace('/@media([^\r\n,{}]+){\s*}/', "", $css);

@Zabi09 Zabi09 added this to the W15 milestone Aug 24, 2018
MohammedKaludi added a commit that referenced this issue Aug 25, 2018
#2473 Added in master and will be pushed in 0.9.97.12
@MohammedKaludi
Copy link
Collaborator Author

Pushed in 0.9.97.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants