Navigation Menu

Skip to content

Commit

Permalink
Fix buG
Browse files Browse the repository at this point in the history
  • Loading branch information
sorah committed Mar 18, 2010
1 parent c9b550f commit 04091b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/easy_doc.rb
Expand Up @@ -141,7 +141,7 @@ def render_file(f,force_other_lang=false)
mkd = File.read(mkd_expand_path(f))
title = mkd.scan(/^# (.+)/).flatten[0]
body = Markdown.new(mkd).to_html
body.gsub!(/<a href="(.+)">/) do |s|
body.gsub!(/<a href="(.+?)">/) do |s|
u = $1
nu =
if /^\// =~ u
Expand Down

0 comments on commit 04091b2

Please sign in to comment.