lib/rdoc/generator/template/sdoc/_context.rhtml in sdoc-1.0.0.rc3 vs lib/rdoc/generator/template/sdoc/_context.rhtml in sdoc-1.0.0

- old
+ new

@@ -180,11 +180,11 @@ Alias for: <a href="<%= context.aref_to method.is_alias_for.path %>"><%= h method.is_alias_for.name %></a> </div> <% end %> <% if method.token_stream %> - <% markup = method.sdoc_markup_code %> + <% markup = method.markup_code %> <div class="sourcecode"> <% # generate github link github = if options.github if markup =~ /File\s(\S+), line (\d+)/ @@ -207,10 +207,10 @@ <pre><%= markup %></pre> </div> </div> <% end %> </div> - <% end #methods.each %> - <% end #visibilities.each %> - <% end #context.methods_by_type %> - <% end #context.each_section %> + <% end %><%# methods.each %> + <% end %><%# visibilities.each %> + <% end %><%# context.methods_by_type %> + <% end %><%# context.each_section %> </div>