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

Empty class should be removed #124

Open
HugoHeneault opened this issue Nov 20, 2013 · 1 comment
Open

Empty class should be removed #124

HugoHeneault opened this issue Nov 20, 2013 · 1 comment

Comments

@HugoHeneault
Copy link

I have a paragraph.

        <p>
            Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum
            has been the industry's standard dummy text ever since the 1500s, when an unknown printer
            took a galley of type and scrambled it to make a type specimen book.
        </p>

If I center it then remove the centering, cleanup is not done correctly (empty class should be removed, no ?) :

       <p class="">
            Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum
            has been the industry's standard dummy text ever since the 1500s, when an unknown printer
            took a galley of type and scrambled it to make a type specimen book.
        </p>
@Petah
Copy link
Contributor

Petah commented Nov 21, 2013

I agree this is probably the right thing to do.

There used to be a plugin that did it, however it made Raptor very slow. I might reimplement it and see if it can be optimized, or maybe put a delayed update check in.

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

No branches or pull requests

2 participants