diff options
author | bobzel <zzzman@gmail.com> | 2021-08-26 00:32:47 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-08-26 00:32:47 -0400 |
commit | 2d8b3c6b73da1b7685903697525a277fd53340a5 (patch) | |
tree | 28583c7c6d1bc5a652ea64e0b679cc68eff80d69 /src/fields/Doc.ts | |
parent | 2790d5b6c374ca24e7307b03f1fd72be7172b033 (diff) |
a lot of changes to move isContentActive into DocumentView
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index 17f41fac8..b09ff93d0 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -1092,6 +1092,9 @@ export namespace Doc { const isTransparent = (color: string) => color !== "" && (Color(color).alpha() !== 1); return isTransparent(StrCast(doc[key])); } + if (typeof value === "string") { + value = value.replace(`,${Utils.noRecursionHack}`, ""); + } const fieldVal = doc[key]; if (Cast(fieldVal, listSpec("string"), []).length) { const vals = Cast(fieldVal, listSpec("string"), []); |