Sha256: 1adfe92ef1748cd058f7e6f00e6ec2bc0350c6a70bc58fe72daef0fce14fb8dd
Contents?: true
Size: 555 Bytes
Versions: 24
Compression:
Stored size: 555 Bytes
Contents
module Octopress module Ink module Tags class FilterTag < Liquid::Block def initialize(tag_name, markup, tokens) super @markup = " #{markup}" end def render(context) content = super.strip return content unless markup = Helpers::Conditional.parse(@markup, context) if markup =~ Helpers::Var::HAS_FILTERS and !content.nil? content = Helpers::Var.render_filters(content, $2, context) end content end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems