<svg <% if @class %>class='<%= @class %>' <% end %>viewBox='0 0 <%= @width %> <%= @height %>' xmlns='www.w3.org/2000/svg'>
<% if @fill_colour %> <style type='text/css'> <![CDATA[ rect.on { fill: <%= @fill_colour %>; } ]]> </style> <% end %> <g>
<%= @body.map { |b| ā #{b}ā }.join ānā %>
</g>
</svg>