lib/templates/classfile.md.erb in rdoc-markdown-0.3 vs lib/templates/classfile.md.erb in rdoc-markdown-0.3.1
- old
+ new
@@ -11,10 +11,10 @@
<% end %>
<% end %>
<% unless attributes&.empty? %>
## Attributes
<% attributes.each do |attr| %>
-### <%= attr.rw %><%=h attr.name.strip %>[](#<%= attr.aref.strip %>)
+### <%= attr.name %>[<%= attr.rw %>] [](#<%= attr.aref.strip %>)
<% if attr.comment %> <%= h attr.description %> <%else%> (Not documented) <% end %>
<% end %>
<% end %>
<% klass.methods_by_type(section).each do |type, visibilities| %>
<% next if visibilities.empty? %>