Shopify/liquid — Issue #92: Filter 'split' not working on GitHub pages, but locally
Author: Juanlu001
Created: 2012-02-05 18:00:32+00:00
State: open

I am deploying my website with GitHub pages, which uses Liquid for the templating, and right now I discovered that Liquid filter 'split' is not working. I have tested 'replace' though and it does work, I cannot tell about others.

This is my 'index.html' file:

https://github.com/Juanlu001/juanlu001.github.com/blob/master/index.html

It has the line

{{ post.content | split:'el' | join:'BUGABUGA' }}

Which should replace 'el' with 'BUGABUGA', but it only does locally.

These are my ruby and gems versions:

$ pacman -Q ruby
ruby 1.9.3_p0-3
$ gem list

*** LOCAL GEMS ***

albino (1.3.3)
bigdecimal (1.1.0)
classifier (1.3.3)
directory_watcher (1.4.1)
fast-stemmer (1.0.0)
io-console (0.3)
jekyll (0.11.2)
json (1.5.4)
kramdown (0.13.4)
liquid (2.3.0)
maruku (0.6.0)
minitest (2.5.1)
posix-spawn (0.3.6)
rake (0.9.2.2)
rdoc (3.9.4)
rubygems-update (1.8.15)
syntax (1.0.0)