From ce8e271b5dde580dc5f5330e5fb97c6bd91122ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Mon, 25 Nov 2013 13:31:53 +0100 Subject: [PATCH] Remove trailing whitespace --- Rakefile | 2 +- lib/jekyll/tags/include.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'