mirror of
https://github.com/kemko/liquid.git
synced 2026-01-04 17:25:41 +03:00
Pass through options on assign tag
This commit is contained in:
@@ -15,7 +15,7 @@ module Liquid
|
||||
super
|
||||
if markup =~ Syntax
|
||||
@to = $1
|
||||
@from = Variable.new($2)
|
||||
@from = Variable.new($2,options)
|
||||
else
|
||||
raise SyntaxError.new options[:locale].t("errors.syntax.assign".freeze)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user