Tristan Hume
d5d41a8202
Make previous commit work
2013-07-29 12:43:05 -04:00
Tristan Hume
c8bd0b91b3
Catch easy cases
2013-07-29 12:07:18 -04:00
Tristan Hume
87b8ee7341
Add error mode switching
2013-07-26 11:45:13 -04:00
Tristan Hume
4da7b36139
New variable parser!
2013-07-25 11:38:57 -04:00
Dylan Thacker-Smith
23203c0122
Fix some old templates that abused colon as an argument separator.
...
This is a fallback for keyword argument parsing since this feature broke
old templates that accidentally used a colon as a filter argument
separator.
2013-05-21 17:47:46 -04:00
Tom Burns
8913a5615a
Revert "Merge pull request #185 from ISSIntel/liquid-utf8"
...
This reverts commit c5dfcd29b0 , reversing
changes made to f7d1e1d0c1 .
2013-05-20 19:53:13 -04:00
Ozéias Sant'ana
f9c289372d
Merge branch 'master' into liquid-utf8
...
Conflicts:
lib/liquid/variable.rb
2013-04-23 13:10:16 -03:00
Dylan Smith
9913895b81
Merge branch 'master' into remove-symbolizing
...
Conflicts:
lib/liquid/variable.rb
2013-03-05 15:25:11 -05:00
Dylan Smith
d706db3bd7
Add support for filter keyword arguments. Closes #175
2013-03-05 15:17:14 -05:00
Jason Roelofs
7bcb565668
Remove #to_sym calls from Drop and Variable
...
Symbols are not needed here and using plain strings is nicer on Ruby
2013-01-16 09:46:17 -05:00
Adam Tanner
0b36540b78
Liquid has UTF8 support.
2012-12-26 18:14:36 -08:00
Dylan Smith
ee41b3f4a3
Fix filter parser regex for filter args without separating spaces.
...
The regex was using \S+ to match the comma between the filters
arguments, but would continue to match idependent quote characters and
filter separators. This can result in multiple filters being interpreted as
a single one with many arguments.
2012-12-18 01:23:31 -05:00
Michael Green
281e3ea9c8
add interpolate once flag to regexes that never change
2012-05-08 16:27:50 -07:00
Steven Soroka
1a4ff9547a
render_all should internally always return strings. This eases some 1.9 compatability issues.
2011-05-02 10:58:27 -04:00
James MacAulay
cbf8986745
fix variable output with quoted strings containing pipe ("|") characters
2009-09-23 15:54:25 -04:00
Jakub Kuźma and Tobias Lütke
daadb1a2d6
Ruby 1.9.1 bugfixes
...
Signed-off-by: Tobias Lütke <[email protected] >
2009-04-17 06:33:20 +08:00
Tobias Lütke
7b9b5f31fb
Merge branch 'experimental' of git://github.com/jamesmacaulay/liquid into jamesmacaulay/experimental
...
Conflicts:
lib/liquid.rb
lib/liquid/variable.rb
2008-11-02 10:11:08 -08:00
James MacAulay
282786d7e2
if blocks work with filtered variables
2008-10-15 17:02:26 -04:00
Mark H. Wilkinson
916f501bde
Fix spelling of FilterSeparator constant.
2008-08-18 20:32:34 +01:00
Mark H. Wilkinson
7eeb895192
Remove trailing whitespace.
2008-08-18 20:32:30 +01:00
Tobias Lütke
1d647361e1
Initial github import of liquid
2008-05-08 11:28:13 -04:00