Skip to content
Browse files

Fix linking to manpages whose name contains a period.

  • Loading branch information...
1 parent e917f46 commit c4a7b4cb233ed981b0c33f29baef94f7963a13be Nicole Reid committed Feb 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jekyll-beastiepress/man_tag.rb
View
2 lib/jekyll-beastiepress/man_tag.rb
@@ -25,7 +25,7 @@ class ManTag < Liquid::Tag
@link = ''
def initialize(tag_name, markup, tokens)
- if markup =~ /((\d+)\s+)?(\w+)(\s+((?:"|')([^"']+)(?:"|')))?(\s+((?:"|')([^"']+)(?:"|')))?(\s+((?:"|')([^"']+)(?:"|')))?/i
+ if markup =~ /((\d+)\s+)?([a-zA-Z0-9_.]+)(\s+((?:"|')([^"']+)(?:"|')))?(\s+((?:"|')([^"']+)(?:"|')))?(\s+((?:"|')([^"']+)(?:"|')))?/i
@section = $2
@man = $3
@release = $6

0 comments on commit c4a7b4c

Please sign in to comment.
Something went wrong with that request. Please try again.