diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-02-20 13:07:04 +0100 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-02-22 14:23:03 +0100 |
| commit | 5532825851f771cf49e7a4a2251a0faf624a4e08 (patch) | |
| tree | 5fb3a0205806c9db9f27fd386afa4280a9f3205b /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 89e2679f08010918e8e1dd04f126cfa9ecea5070 (diff) | |
[FIX] mail: show mention link at the end of a message content
Before this commit, when mentioning a user at the end of a message,
no link was shown.
The cause is that any mention should end with whitespace, but during
the preprocessing of a message, the message is trimmed, which removes
the final whitespace of the mention.
We would like to keep trimming at the preprocessing of the message,
but we can relax a bit the regex to detect a mention, so that it is
not necessary to have a whitespace at the end of a matched mention.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
