templates/inline_menu.html.slim in asciidoctor-revealjs-4.0.1 vs templates/inline_menu.html.slim in asciidoctor-revealjs-4.1.0.rc2
- old
+ new
@@ -1,15 +1,16 @@
- menu = attr 'menu'
- menuitem = attr 'menuitem'
- if !(submenus = attr 'submenus').empty?
- span.menuseq
+ = html_tag('span', { :class => ['menuseq'] }.merge(data_attrs(@attributes)))
span.menu=menu
| ▸ 
=submenus.map {|submenu| %(<span class="submenu">#{submenu}</span> ▸ ) }.join
span.menuitem=menuitem
- elsif !menuitem.nil?
- span.menuseq
+ = html_tag('span', { :class => ['menuseq'] }.merge(data_attrs(@attributes)))
span.menu=menu
| ▸ 
span.menuitem=menuitem
- else
- span.menu=menu
+ = html_tag('span', { :class => ['menu'] }.merge(data_attrs(@attributes)))
+ = menu