diff options
author | bobzel <zzzman@gmail.com> | 2020-09-17 16:08:08 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-17 16:08:08 -0400 |
commit | 7f7308720445c50c818fffb733a165ab651f5696 (patch) | |
tree | 642651ed6187ed274ab6baff38ce8e6a170c564f /src | |
parent | a5faf4b3daa2d5081e976b1bc363b29ca7cf1975 (diff) |
from last
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/formattedText/RichTextRules.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/RichTextRules.ts b/src/client/views/nodes/formattedText/RichTextRules.ts index 902dca01b..09f484e37 100644 --- a/src/client/views/nodes/formattedText/RichTextRules.ts +++ b/src/client/views/nodes/formattedText/RichTextRules.ts @@ -304,7 +304,7 @@ export class RichTextRules { const fieldKey = match[1] || ""; const fieldParam = match[2]?.replace("…", "...") || ""; const rawdocid = match[3]?.substring(1); - const docid = (!rawdocid.includes("@") ? Doc.CurrentUserEmail + "*" + rawdocid : rawdocid).replace(".", "_"); + const docid = (!rawdocid.includes("@") ? Doc.CurrentUserEmail + "@" + rawdocid : rawdocid).replace(".", "_"); if (!fieldKey && !docid) return state.tr; docid && DocServer.GetRefField(docid).then(docx => { if (!(docx instanceof Doc && docx)) { |