value of style attribute can be a string or a map

A map is converted to a string as before, while a string is passed
on unchanged.  Fixes #33.
Merge pull request #34 from mva/for-upstream

value of style attribute can be a string or a map