nokogiri templates for html5/svg tessellations