lib/kitchen/directions/bake_index/v1.xhtml.erb in openstax_kitchen-17.0.0 vs lib/kitchen/directions/bake_index/v1.xhtml.erb in openstax_kitchen-17.1.0

- old
+ new

@@ -11,10 +11,10 @@ <span class="group-label"><%= section.name %></span> <% section.items.each do |item| %> <div class="os-index-item"> <%- item.terms.each_with_index do |term, ii| -%> <%- if ii == 0 -%> - <span class="os-term" group-by="<%= term.group_by %>"><%= term.text %></span> + <span class="os-term" group-by="<%= term.group_by %>"><%- if term.italicized -%><em data-effect="italics"><%= term.text %></em><%- else -%><%= term.text %><% end %></span> <%- else -%><span class="os-index-link-separator">, </span><% end %> <a class="os-term-section-link" href="#<%= term.id %>"><span class="os-term-section"><%= term.page_title %></span></a><!-- --><%- end %> </div> <% end %>