Sha256: 38b97769aa16e020a583adf0ccffc41ebe470f03840dbd7a2d0d8ac72d286831

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

# frozen_string_literal: true

require "jekyll"
require "liquid"

require "jekyll-html"

module Jekyll
  module HTML

    class EndTag < Liquid::Tag
      def initialize(_tag_name, txt, _tokens)
        @context = txt.nil? || txt.empty? ? "" : txt
      end

      def render(_context)
        Jekyll::Html.generate_end_tag(@context)
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-html-1.0.2 lib/jekyll-html/end_tag.rb