mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-18 18:30:40 -07:00
liquid without the garbage
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
require 'test_helper'
|
||||
|
||||
class FoobarTag < Liquid::Tag
|
||||
def render(*args)
|
||||
" "
|
||||
def render(context, output = '')
|
||||
output << ' '
|
||||
output
|
||||
end
|
||||
|
||||
Liquid::Template.register_tag('foobar', FoobarTag)
|
||||
|
||||
Reference in New Issue
Block a user