diff --git a/Rakefile b/Rakefile index b65b2dd2..d76ec053 100644 --- a/Rakefile +++ b/Rakefile @@ -218,7 +218,7 @@ namespace :site do abort "You seem to have misplaced your History.markdown file. I can haz?" end end - + namespace :releases do desc "Create new release post" task :new, :version do |t, args| diff --git a/lib/jekyll/tags/include.rb b/lib/jekyll/tags/include.rb index ee1636c7..a261e6f5 100644 --- a/lib/jekyll/tags/include.rb +++ b/lib/jekyll/tags/include.rb @@ -13,7 +13,7 @@ module Jekyll SYNTAX_EXAMPLE = "{% include file.ext param='value' param2='value' %}" - VALID_SYNTAX = /([\w-]+)\s*=\s*(?:"([^"\\]*(?:\\.[^"\\]*)*)"|'([^'\\]*(?:\\.[^'\\]*)*)'|([\w\.-]+))/ + VALID_SYNTAX = /([\w-]+)\s*=\s*(?:"([^"\\]*(?:\\.[^"\\]*)*)"|'([^'\\]*(?:\\.[^'\\]*)*)'|([\w\.-]+))/ INCLUDES_DIR = '_includes'