Another case for the class attribute that triggers this message is: `class="c1 | c2"` Attribute is not blank or malformed, but cursor is not in a class name so the code fails. So, that's why "place cursor in class name" seemed appropriate.