Handle nil styles
Merge pull request #53 from trptcolin/handle_nil_styles

Handle nil styles