Sha256: 2f9dc0556b52feb6be54e5b9918165fba3beb92489612b453a9b06c818afd4a5

Contents?: true

Size: 261 Bytes

Versions: 6

Compression:

Stored size: 261 Bytes

Contents

module Coradoc::Input::HTML
  module Converters
    class Q < Base
      def to_coradoc(node, state = {})
        content = treat_children(node, state)
        Coradoc::Element::Inline::Quotation.new(content)
      end
    end

    register :q, Q.new
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
coradoc-1.1.6 lib/coradoc/input/html/converters/q.rb
coradoc-1.1.5 lib/coradoc/input/html/converters/q.rb
coradoc-1.1.4 lib/coradoc/input/html/converters/q.rb
coradoc-1.1.3 lib/coradoc/input/html/converters/q.rb
coradoc-1.1.2 lib/coradoc/input/html/converters/q.rb
coradoc-1.1.1 lib/coradoc/input/html/converters/q.rb