From be9145ac20a4c8c6bd3fe0e31931bff4c8ff50d2 Mon Sep 17 00:00:00 2001 From: dab246 Date: Sat, 22 Apr 2023 08:27:30 +0700 Subject: [PATCH] TF-1778 Add `adr` for issue `#1778` (cherry picked from commit 2b139ae7fcecd5c8cc0a40e11b7fa70d39febf20) --- ...-signature-in-email-which-has-been-sent.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 docs/adr/0023-fix-system-not-display-signature-in-email-which-has-been-sent.md diff --git a/docs/adr/0023-fix-system-not-display-signature-in-email-which-has-been-sent.md b/docs/adr/0023-fix-system-not-display-signature-in-email-which-has-been-sent.md new file mode 100644 index 000000000..e5792b29a --- /dev/null +++ b/docs/adr/0023-fix-system-not-display-signature-in-email-which-has-been-sent.md @@ -0,0 +1,19 @@ +# 23. Fix system not display signature in email which has been sent + +Date: 2023-04-21 + +## Status + +- Issue: [#1778](https://github.com/linagora/tmail-flutter/issues/1778) + +## Context + +- Root cause: Due to a syntax error in javascript. In string contains the characters `'` and `"` + +## Decision + +- Use `template literals` to escape a string in JavaScript. Follow on [enough_html_editor#20](https://github.com/linagora/enough_html_editor/pull/20) + +## Consequences + +- Escape a string in JavaScript avoid signature display error when sending email on mobile. \ No newline at end of file