improve divs folding

allow div class to be defined in single quotes.
only fold when a class is defined.