templates/default/function_details/html/function_signature.erb in yard-mruby-0.2.2 vs templates/default/function_details/html/function_signature.erb in yard-mruby-0.2.3

- old
+ new

@@ -1,10 +1,10 @@ -<h3 class="signature <%= 'first' if @index == 0 %>" id="<%= anchor_for(object) %>"> - <%= fsignature(object, false) %> - - <% if object.aliases.size > 0 %> - <span class="aliases">Also known as: - <span class="names"><%= object.aliases.map {|o| - "<span id='#{anchor_for(o)}'>" + h(o.name.to_s) + "</span>" }.join(", ") %></span> - </span> - <% end %> -</h3> +<h3 class="signature <%= 'first' if @index == 0 %>" id="<%= anchor_for(object) %>"> + <%= fsignature(object, false) %> + + <% if object.aliases.size > 0 %> + <span class="aliases">Also known as: + <span class="names"><%= object.aliases.map {|o| + "<span id='#{anchor_for(o)}'>" + h(o.name.to_s) + "</span>" }.join(", ") %></span> + </span> + <% end %> +</h3>