lib/templates/classfile.md.erb in rdoc-markdown-0.3.6 vs lib/templates/classfile.md.erb in rdoc-markdown-0.4

- old
+ new

@@ -5,10 +5,10 @@ <% if section.comment %> <%=h section.description %><% end%> <% unless klass.constants.empty? %> ## Constants | Name | Description | | ---- | ----------- | -<% klass.constants.each do |const| %> | **<%= const.name %>[](#<%= const.name %>)** | <% unless const.description.empty? %> <%= h const.description %> <%else%> Not documented <% end %> | +<% klass.constants.each do |const| %> | **<%= const.name %>[](#<%= const.name %>)** | <% unless const.description.empty? %> <%= h(const.description).rstrip %> <%else%> Not documented <% end %> | <% end %> <% end %> <% unless attributes&.empty? %> ## Attributes <% attributes.each do |attr| %>