Allow liquid tag inside liquid tag

This commit is contained in:
Marco Concetto Rudilosso
2023-07-06 10:45:12 +01:00
parent 546dd9bc06
commit 10e0fb795e
2 changed files with 14 additions and 0 deletions
+3
View File
@@ -45,6 +45,9 @@ module Liquid
end
tag_name = Regexp.last_match(1)
markup = Regexp.last_match(2)
if tag_name == "liquid"
next
end
unless (tag = registered_tags[tag_name])
# end parsing if we reach an unknown tag and let the caller decide
# determine how to proceed