Browse code

fixed unclosed link on category tag

Brandon Mathis authored on 12/07/2011 at 12:47:40
Showing 1 changed files
... ...
@@ -130,7 +130,7 @@ module Jekyll
130 130
     #
131 131
     def category_links(categories)
132 132
       categories = categories.sort!.map do |item|
133
-        "<a class='category' href='/#{@context.registers[:site].config['category_dir']}/#{item.gsub(/_|\W/, '-')}'/>#{item}</a>"
133
+        "<a class='category' href='/#{@context.registers[:site].config['category_dir']}/#{item.gsub(/_|\W/, '-')}/'>#{item}</a>"
134 134
       end
135 135
 
136 136
       case categories.length