diff --git a/lib/rdoc/generator/template/aliki/class.rhtml b/lib/rdoc/generator/template/aliki/class.rhtml
index 7c571bc88b..39c303279a 100644
--- a/lib/rdoc/generator/template/aliki/class.rhtml
+++ b/lib/rdoc/generator/template/aliki/class.rhtml
@@ -40,10 +40,10 @@
<%- klass.each_section do |section, constants, attributes| %>
-
+
<%- if section.title then %>
@@ -58,7 +58,7 @@
<%- unless constants.empty? then %>
<%- constants.each do |const| %>
@@ -83,7 +83,7 @@
<%- unless attributes.empty? then %>
<%- attributes.each do |attrib| %>
@@ -118,7 +118,7 @@
<%- next if methods.empty? %>
<%- methods.each do |method| %>