adnantopal / extractcss

:page_facing_up: extractCSS is a JavaScript library and an online tool that lets you extract element ID, class and inline styles from HTML document and output them as CSS stylesheet.
http://extractcss.com
MIT License
284 stars 48 forks source link

Server generated id/class names #2

Closed herzinger closed 11 years ago

herzinger commented 11 years ago

It'll break and output nothing if you have something like this in your code:

<h2 class="title title--<?php echo $counter++; ?>">
    <?php echo $this->__('Numbered Title'); ?>
</h2>
adnantopal commented 11 years ago

Thanks for the feedback. I'll consider this for the next version.