diff --git a/lib/asciidoctor-epub3/converter.rb b/lib/asciidoctor-epub3/converter.rb index 257d3b0..b227afd 100644 --- a/lib/asciidoctor-epub3/converter.rb +++ b/lib/asciidoctor-epub3/converter.rb @@ -959,7 +959,7 @@ def convert_olist(node) lines << %(

#{node.title}

) if node.title? lines << %() node.items.each do |item| - li_classes = [item.style, item.role].compact + li_classes = [item.role].compact li_class_attr = li_classes.empty? ? '' : %( class="#{li_classes * ' '}") lines << %( #{item.text}) @@ -988,7 +988,7 @@ def convert_ulist(node) lines << %(

#{node.title}

) if node.title? lines << %() node.items.each do |item| - li_classes = [item.style, item.role].compact + li_classes = [item.role].compact li_class_attr = li_classes.empty? ? '' : %( class="#{li_classes * ' '}") lines << %( #{item.text})