From e12b9c98c5802b1eccd2fd66a6e3fa1c7bb62d10 Mon Sep 17 00:00:00 2001 From: mater Date: Tue, 11 Mar 2014 20:36:52 -0700 Subject: [PATCH] you omit the quotation marsks on ~ which make this example not work properly ! --- Liquid-for-Designers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Liquid-for-Designers.md b/Liquid-for-Designers.md index 44fbe85..62fd2f4 100644 --- a/Liquid-for-Designers.md +++ b/Liquid-for-Designers.md @@ -67,7 +67,7 @@ Hello {{ 'now' | date: "%Y %h" }} * `plus` - addition *e.g.* `{{ '1' | plus:'1' }} #=> '11'`, `{{ 1 | plus:1 }} #=> 2` * `times` - multiplication *e.g* `{{ 5 | times:4 }} #=> 20` * `divided_by` - division *e.g.* `{{ 10 | divided_by:2 }} #=> 5` -* `split` - split a string on a matching pattern *e.g.* `{{ "a~b" | split:~ }} #=> ['a','b']` +* `split` - split a string on a matching pattern *e.g.* `{{ "a~b" | split:'~' }} #=> ['a','b']` * `modulo` - remainder, *e.g.* `{{ 3 | modulo:2 }} #=> 1` ## Tags