liquid without the garbage

This commit is contained in:
Florian Weingarten
2019-04-22 16:34:31 -04:00
parent c2ef247be5
commit 2a1ca3152d
25 changed files with 144 additions and 101 deletions
+3 -2
View File
@@ -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)