lib/madowu/directorymapper.rb in madowu-0.0.0 vs lib/madowu/directorymapper.rb in madowu-0.0.1
- old
+ new
@@ -55,10 +55,10 @@
end
end
link_path = link_path.to_s.sub(/^#{md_dir}\//, '')
anchor = anchor.to_s.sub(/^#{md_dir}\//, '')
line = " <li> <a href='#{link_path}'>#{anchor}</a>"
- line += "(#{title})" unless title.to_s.empty?
+ line += " (#{title})" unless title.to_s.empty?
results << line
end
results << "</ul>"
results
end