[Remove Unused CSS Rules] has a checkbox option to remove unused class attributes in the HTML.
However, it always cleans up the CSS stylesheets to remove unused class rules also.
Is there any way to just remove unused class attributes in the HTML? (RegEx, another check box options, .....?)
I try to keep my 'standard' stylesheet consistent so even though rules are not used in a given book, I'd like to keep them.
I ePubMerged a group of short stories and there was a lot of variety in how the same type of text was styles. For example, my 'standard' CSS has <p> for 99% of the cases, but it seems like each short story had it's own.
However, it always cleans up the CSS stylesheets to remove unused class rules also.
Is there any way to just remove unused class attributes in the HTML? (RegEx, another check box options, .....?)
I try to keep my 'standard' stylesheet consistent so even though rules are not used in a given book, I'd like to keep them.
I ePubMerged a group of short stories and there was a lot of variety in how the same type of text was styles. For example, my 'standard' CSS has <p> for 99% of the cases, but it seems like each short story had it's own.
Clik here to view.
