Sha256: f581c25047e1e0f3c377c305e33972d0c59438686ed43cdb427fe34ada4f2278

Contents?: true

Size: 201 Bytes

Versions: 10

Compression:

Stored size: 201 Bytes

Contents

module Storyblok::Richtext
  module Nodes
    class HardBreak < Node

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

      def single_tag
        'br'
      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/hard_break.rb
storyblok-richtext-renderer-0.0.9 lib/storyblok/richtext/html_renderer/nodes/hard_break.rb
storyblok-richtext-renderer-0.0.8 lib/storyblok/richtext/html_renderer/nodes/hard_break.rb
storyblok-richtext-renderer-0.0.7 lib/storyblok/richtext/html_renderer/nodes/hard_break.rb
storyblok-richtext-renderer-0.0.6 lib/storyblok/richtext/html_renderer/nodes/hard_break.rb
storyblok-richtext-renderer-0.0.5 lib/storyblok/richtext/html_renderer/nodes/hard_break.rb
storyblok-richtext-renderer-0.0.4 lib/storyblok/richtext/html_renderer/nodes/hard_break.rb
storyblok-richtext-renderer-0.0.3 lib/storyblok/richtext/html_renderer/nodes/hard_break.rb
storyblok-richtext-renderer-0.0.2 lib/richtext/html_renderer/nodes/hard_break.rb
storyblok-richtext-renderer-0.0.1 lib/storyblok/richtext/html_renderer/nodes/hard_break.rb