tiptap service handle empty attestation

This commit is contained in:
simon lehericey 2023-11-15 09:55:10 +01:00
parent af53a9b9db
commit e4a48f1270

View file

@ -1,6 +1,8 @@
class TiptapService
class << self
def to_html(node, tags)
return '' if node.nil?
children(node[:content], tags)
end