mirror of
https://github.com/kemko/liquid.git
synced 2026-01-06 10:15:40 +03: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