From e4a48f127043dbd7c5ff8a5d86462b271e3e3a78 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Wed, 15 Nov 2023 09:55:10 +0100 Subject: [PATCH] tiptap service handle empty attestation --- app/services/tiptap_service.rb | 2 ++ 1 file changed, 2 insertions(+) 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