diff --git a/jekyll-remote-theme.gemspec b/jekyll-remote-theme.gemspec index b399683..e1d6d13 100644 --- a/jekyll-remote-theme.gemspec +++ b/jekyll-remote-theme.gemspec @@ -22,6 +22,7 @@ Gem::Specification.new do |s| s.add_development_dependency "jekyll-theme-primer", "~> 0.5" s.add_development_dependency "jekyll_test_plugin_malicious", "~> 0.2" + s.add_development_dependency "kramdown-parser-gfm", "~> 1.0" s.add_development_dependency "pry", "~> 0.11" s.add_development_dependency "rspec", "~> 3.0" s.add_development_dependency "rubocop", "~> 0.71" diff --git a/lib/jekyll-remote-theme/theme.rb b/lib/jekyll-remote-theme/theme.rb index 4100176..a76f545 100644 --- a/lib/jekyll-remote-theme/theme.rb +++ b/lib/jekyll-remote-theme/theme.rb @@ -68,7 +68,7 @@ def inspect def uri return @uri if defined? @uri - @uri = if @raw_theme =~ THEME_REGEX + @uri = if THEME_REGEX.match?(@raw_theme) Addressable::URI.new( :scheme => "https", :host => "github.com",