Sha256: 9f72c0c4bfe7de2170b523b70be48610d117b51f5b11798cec917f0a5c575b75
Contents?: true
Size: 677 Bytes
Versions: 7
Compression:
Stored size: 677 Bytes
Contents
# Frozen-string-literal: true # Copyright: 2012 - 2018 - MIT License # Encoding: utf-8 require "jekyll/assets" module Jekyll module Assets class HTML class SVG < HTML content_types "image/svg+xml" # -- def run arg = @args.to_h(html: true) arg.each do |k, v| @doc.set_attribute(k, v) end end # -- def self.wants_xml? true end # -- def self.for?(type:, args:) return false unless super return false unless args.key?(:inline) && !args.key?(:srcset) true end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems