Skip to content

Commit

Permalink
fixed some small things
Browse files Browse the repository at this point in the history
  • Loading branch information
seanhess committed Aug 20, 2009
1 parent d3088e4 commit 1eb8357
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blog.rb
Expand Up @@ -165,7 +165,7 @@ def html_escape(s)

def newlines_and_links(s)
newlines = s.gsub(/\n/, '<br>')
links = newlines.gsub(/(http:\/\/[\w\/\.\-\d]+)/, '<a href="\1">\1</a>')
links = newlines.gsub(/(http:\/\/[\w\/\.\-\d]+[\w\/\d\-])/, '<a href="\1">\1</a>')
end

def comment_tag(comment)
Expand Down
1 change: 1 addition & 0 deletions pages/header.mdown
@@ -1,5 +1,6 @@
[github_redbean]: http://github.com/seanhess/redbean.git "Redbean: Github"
[github_glue]: http://github.com/seanhess/glue "Glue: Github"
[github]: http://github.com/seanhess "My Github Account"
[about]: /about
[contact]: /contact
[code]: /code

0 comments on commit 1eb8357

Please sign in to comment.