mirror of
https://github.com/kemko/liquid.git
synced 2026-01-06 10:15:40 +03:00
remove include Liquid from the class CustomInclude and substitute QuotedFragment with Liquid::QuotedFragment
This commit is contained in:
@@ -192,8 +192,7 @@ class IncludeTagTest < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
class CustomInclude < Liquid::Tag
|
||||
include Liquid
|
||||
Syntax = /(#{QuotedFragment}+)(\s+(?:with|for)\s+(#{QuotedFragment}+))?/o
|
||||
Syntax = /(#{Liquid::QuotedFragment}+)(\s+(?:with|for)\s+(#{Liquid::QuotedFragment}+))?/o
|
||||
|
||||
def initialize(tag_name, markup, tokens)
|
||||
markup =~ Syntax
|
||||
|
||||
Reference in New Issue
Block a user