middleman / middleman-asciidoc

:beginner: AsciiDoc support for Middleman 4. (In Middleman 3, AsciiDoc support is provided by a core extension).
https://middlemanapp.com
Other
27 stars 12 forks source link

Don't fail if value of attribute is not a string #70

Closed mojavelinux closed 6 years ago

mojavelinux commented 6 years ago

Don't fail when merging attributes if value of attribute is not a string.

Example:

activate :asciidoc do |asciidoc|
  asciidoc.attributes = { 'sectnumlevels' => 2 }
end