mirror of
https://github.com/nocodb/nocodb.git
synced 2026-02-02 02:47:29 +00:00
fix: rich text serialize error Handling
This commit is contained in:
@@ -6,6 +6,8 @@ export function elementFromString(value) {
|
||||
}
|
||||
|
||||
export function escapeHTML(value) {
|
||||
if (!ncIsString(value)) return value
|
||||
|
||||
return value?.replace(/</g, '<').replace(/>/g, '>')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user