docs: def get_classes(self, el):
          """Get classes."""
  
          if self.type != 'xhtml':
              return el.attrs.get('class', [])
          else:
              return [c for c in el.attrs.get('class', '').strip().split(' ') if c]