function hasNoClass(element) {
    return (/^\s*$/).test(element.className);
  }
Unifies all inline tags additions and removals
See https://github.com/Voog/wysihtml/pull/169 for specification of action