Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix linking to manpages whose name contains a period.

  • Loading branch information...
commit c4a7b4cb233ed981b0c33f29baef94f7963a13be 1 parent e917f46
Nicole Reid authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.