From 4de5a7c3e8beab1eeddcb152bd58af0a3888254b Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Sat, 17 Jan 2026 10:29:18 +0000 Subject: [PATCH] fix: rich text serialize error Handling --- packages/nc-gui/helpers/tiptap-markdown/util/dom.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nc-gui/helpers/tiptap-markdown/util/dom.ts b/packages/nc-gui/helpers/tiptap-markdown/util/dom.ts index 6c786a5ac6..6049fec6de 100644 --- a/packages/nc-gui/helpers/tiptap-markdown/util/dom.ts +++ b/packages/nc-gui/helpers/tiptap-markdown/util/dom.ts @@ -6,6 +6,8 @@ export function elementFromString(value) { } export function escapeHTML(value) { + if (!ncIsString(value)) return value + return value?.replace(//g, '>') }