mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Literal
- added support for literals [closes #6] Code beautifier - indented some files
This commit is contained in:
@@ -45,6 +45,7 @@ module Liquid
|
||||
PartialTemplateParser = /#{TagStart}.*?#{TagEnd}|#{VariableStart}.*?#{VariableIncompleteEnd}/
|
||||
TemplateParser = /(#{PartialTemplateParser}|#{AnyStartingTag})/
|
||||
VariableParser = /\[[^\]]+\]|#{VariableSegment}+\??/
|
||||
LiteralShorthand = /^(?:{{{\s?)(.*?)(?:\s*}}})$/
|
||||
end
|
||||
|
||||
require 'liquid/drop'
|
||||
|
||||
Reference in New Issue
Block a user