lib/gollum-site/markup.rb in gollum-site-0.1.3 vs lib/gollum-site/markup.rb in gollum-site-0.1.4

- old
+ new

@@ -48,9 +48,11 @@ else presence = "absent" link_name = cname page = find_page_from_name(cname) if page + # Update link_name to account for case sensitivity + link_name = @wiki.page_class.cname(page.name) presence = "present" end link = ::File.join(@wiki.base_path, CGI.escape(link_name)) %{<a class="internal #{presence}" href="#{link}#{extra}">#{name}</a>} end