Sha256: f16fb056675f626ab9c0fcddd195da3b34c225b5e00de6e0b72190fe3980ecb5

Contents?: true

Size: 211 Bytes

Versions: 10

Compression:

Stored size: 211 Bytes

Contents

module Storyblok::Richtext
  module Nodes
    class HorizontalRule < Node

      def matching
        @node['type'] === 'horizontal_rule'
      end

      def single_tag
        'hr'
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
storyblok-richtext-renderer-0.0.10 lib/storyblok/richtext/html_renderer/nodes/horizontal_rule.rb
storyblok-richtext-renderer-0.0.9 lib/storyblok/richtext/html_renderer/nodes/horizontal_rule.rb
storyblok-richtext-renderer-0.0.8 lib/storyblok/richtext/html_renderer/nodes/horizontal_rule.rb
storyblok-richtext-renderer-0.0.7 lib/storyblok/richtext/html_renderer/nodes/horizontal_rule.rb
storyblok-richtext-renderer-0.0.6 lib/storyblok/richtext/html_renderer/nodes/horizontal_rule.rb
storyblok-richtext-renderer-0.0.5 lib/storyblok/richtext/html_renderer/nodes/horizontal_rule.rb
storyblok-richtext-renderer-0.0.4 lib/storyblok/richtext/html_renderer/nodes/horizontal_rule.rb
storyblok-richtext-renderer-0.0.3 lib/storyblok/richtext/html_renderer/nodes/horizontal_rule.rb
storyblok-richtext-renderer-0.0.2 lib/richtext/html_renderer/nodes/horizontal_rule.rb
storyblok-richtext-renderer-0.0.1 lib/storyblok/richtext/html_renderer/nodes/horizontal_rule.rb