diff --git a/app/services/tiptap_service.rb b/app/services/tiptap_service.rb index 9514dc11c..47d2e6045 100644 --- a/app/services/tiptap_service.rb +++ b/app/services/tiptap_service.rb @@ -1,6 +1,8 @@ class TiptapService class << self def to_html(node, tags) + return '' if node.nil? + children(node[:content], tags) end