lib/octopress-ink/helpers/path.rb in octopress-ink-1.0.0.alpha.24 vs lib/octopress-ink/helpers/path.rb in octopress-ink-1.0.0.alpha.25

- old
+ new

@@ -1,11 +1,11 @@ module Octopress module Helpers module Path - FILE = /(\S+)(\s.*)/ + FILE = /(\S+)(\s?)(.*)/ def self.parse(markup, context) if markup =~ FILE - (context[$1].nil? ? $1 : context[$1]) + $2 + (context[$1].nil? ? $1 : context[$1]) + ' ' + ($3 || '') else markup end end