Class attribute in a tag must be an array, not a string.

Fixes #50
Merge branch 'develop' into 7.x-2.x

* develop:
  Class attribute in a tag must be an array, not a string.