diff --git a/lib/liquid/parser_switching.rb b/lib/liquid/parser_switching.rb index 9dd19dbd..5fc0f389 100644 --- a/lib/liquid/parser_switching.rb +++ b/lib/liquid/parser_switching.rb @@ -25,7 +25,7 @@ module Liquid end def markup_context(markup) - "in \"#{markup.strip}\"" + "in \"#{markup.strip}\"" end end end diff --git a/lib/liquid/template.rb b/lib/liquid/template.rb index 3c0a672f..4b5052c7 100644 --- a/lib/liquid/template.rb +++ b/lib/liquid/template.rb @@ -105,7 +105,6 @@ module Liquid def parse(source, options = {}) @options = options @profiling = options[:profile] - @profiling = options.delete(:profile) @line_numbers = options.delete(:line_numbers) @root = Document.parse(tokenize(source), DEFAULT_OPTIONS.merge(options)) @warnings = nil