lib/jekyll-inline-svg.rb in jekyll-inline-svg-1.1.2 vs lib/jekyll-inline-svg.rb in jekyll-inline-svg-1.1.3

- old
+ new

@@ -17,10 +17,10 @@ #import lookup_variable function # https://github.com/jekyll/jekyll/blob/master/lib/jekyll/liquid_extensions.rb include Jekyll::LiquidExtensions # For interpoaltion, look for liquid variables - VARIABLE = /\{\{\s*([\w]+\.?[\w]*)\s*\}\}/i + VARIABLE = /\{\{\s*([\w.\-]+)\s*\}\}/i #Separate file path from other attributes PATH_SYNTAX = %r! ^(?<path>[^\s"']+|"[^"]+"|'[^']+') (?<params>.*)