diff options
author | bobzel <zzzman@gmail.com> | 2021-08-30 10:23:13 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-08-30 10:23:13 -0400 |
commit | 962a1a3f1ae9a55c5aea630d3252cecb740fa15c (patch) | |
tree | 9f5f234786af112a475ea5be962e2e2907fb2dfe /src/fields/Doc.ts | |
parent | 584926578067f023b52c7754e65bc289f2a745e6 (diff) | |
parent | 2d2e027f11253834a337680bbfd1ac549bb2a1f0 (diff) |
merged with master - fixed warnings and errors.
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"), []); |