lib/storyblok/richtext/html_renderer.rb in storyblok-richtext-renderer-0.0.9 vs lib/storyblok/richtext/html_renderer.rb in storyblok-richtext-renderer-0.0.10

- old
+ new

@@ -76,9 +76,13 @@ def add_mark(mark) @marks.push(mark) end + def remove_mark(mark) + @marks.delete(mark) + end + def render(data) html = "" data['content'].each do |node| html += render_node(node) end