Nicolas Lempereur and Kamen Zhekov
38464f5aaf
[FIX] web_editor: have transcoder apply text-decoration
...
The transcoder (transforming CSS rules into inline CSS for mail clients)
was not working for text-decoration property because it would transform
text-decoration values in:
{'text-decoration-thickness': 'normal', 'text-decoration': none}
And the regex that ensures we don't add duplicates check if there is:
"(^|;)\s*text-decoration"
so if there is text-decoration-thickness, text-decoration is not added.
The regexp could be changed to:
"(^|;)\s*text-decoration[^\w-]"
but we already have special case for other text-decoration-* properties.
With this change we should get text-decoration applied in:
- edit mode (was already the case)
- readonly mode (new)
- mail client (only if mail client does not override it)
As a side note: text-decoration-thickness seems to be rather new[^1] so
at one point in time there was probably no issue.
[^1]: https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness
opw-2496490
closes odoo/odoo#69078
X-original-commit: f4f1b890e15e98d9a7e72586faf73327d3f7b716
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com >
Co-authored-by: Kamen Zhekov <kzh@odoo.com >
2021-04-09 18:24:21 +00:00
..
2021-04-11 11:56:15 +00:00
2021-04-03 10:18:26 +00:00
2021-04-02 06:11:11 +00:00
2021-03-29 17:57:57 +00:00
2021-04-01 14:58:20 +00:00
2021-04-01 14:58:20 +00:00
2021-03-04 16:16:25 +00:00
2021-01-14 15:13:37 +00:00
2021-03-30 09:25:51 +02:00
2020-11-30 07:07:58 +00:00
2020-11-23 12:41:52 +00:00
2021-03-31 13:57:18 +02:00
2021-02-02 12:40:22 +00:00
2021-01-28 08:12:30 +00:00
2021-04-03 10:12:59 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-01-12 10:38:54 +00:00
2021-01-28 09:28:07 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-04-02 11:17:31 +00:00
2021-03-31 13:57:18 +02:00
2021-04-07 09:46:58 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-04-07 07:53:03 +00:00
2021-03-31 08:21:38 +00:00
2021-03-31 13:57:18 +02:00
2021-04-01 18:59:48 +00:00
2021-03-31 13:57:18 +02:00
2021-03-29 11:59:11 +00:00
2021-02-02 12:40:22 +00:00
2021-03-17 18:16:35 +00:00
2021-04-01 14:23:07 +00:00
2021-03-29 16:55:45 +00:00
2021-03-31 08:55:44 +00:00
2021-03-16 14:22:08 +00:00
2021-04-02 13:43:39 +00:00
2021-04-02 13:40:50 +00:00
2021-04-02 13:40:50 +00:00
2021-03-29 16:55:45 +00:00
2020-11-25 11:09:53 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2020-12-11 17:52:11 +00:00
2021-02-26 08:44:11 +00:00
2021-03-25 09:55:10 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-04-06 09:19:44 +00:00
2021-04-06 11:13:55 +00:00
2021-03-31 13:57:18 +02:00
2021-04-01 07:43:08 +00:00
2021-03-31 13:57:18 +02:00
2021-03-29 16:55:45 +00:00
2021-03-31 13:57:18 +02:00
2021-02-10 17:03:59 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-04-09 12:12:54 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-30 12:15:00 +00:00
2021-02-26 14:03:30 +00:00
2021-03-02 15:32:41 +00:00
2020-12-08 08:26:37 +00:00
2021-03-31 13:57:18 +02:00
2020-11-25 12:29:57 +00:00
2021-03-31 13:57:18 +02:00
2021-04-01 12:09:20 +00:00
2021-04-08 19:24:09 +00:00
2021-04-07 13:45:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 14:57:33 +00:00
2021-04-01 14:58:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 17:06:11 +00:00
2021-04-08 09:33:10 +00:00
2021-04-01 12:09:20 +00:00
2021-03-25 15:01:43 +00:00
2021-04-03 11:24:09 +00:00
2021-03-31 13:57:18 +02:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-08 11:08:07 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-03-31 13:57:18 +02:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-09 15:33:27 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-03-25 15:01:43 +00:00
2021-04-01 12:09:20 +00:00
2021-03-25 15:01:43 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-09 14:34:15 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-03 10:49:03 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2020-12-29 09:25:50 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 14:58:20 +00:00
2021-04-01 14:58:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-01-15 15:56:47 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-03-25 15:01:43 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-04-01 12:09:20 +00:00
2021-03-16 13:21:14 +00:00
2021-03-31 13:57:18 +02:00
2021-04-02 07:08:04 +00:00
2021-03-31 13:57:18 +02:00
2021-02-24 17:03:26 +00:00
2021-04-01 14:23:07 +00:00
2021-03-31 13:57:18 +02:00
2021-04-07 15:44:43 +00:00
2021-01-12 10:38:54 +00:00
2021-01-12 10:38:54 +00:00
2020-12-11 12:30:42 +00:00
2021-03-03 12:12:52 +00:00
2021-02-19 08:02:58 +00:00
2020-12-07 10:19:27 +00:00
2021-03-31 13:57:18 +02:00
2021-04-07 17:27:39 +00:00
2021-04-02 11:51:38 +00:00
2021-04-02 11:51:38 +00:00
2021-03-30 09:27:05 +00:00
2021-03-29 18:09:59 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-30 09:25:51 +02:00
2021-03-31 13:57:18 +02:00
2021-03-30 09:25:51 +02:00
2021-03-30 09:25:51 +02:00
2021-03-30 09:25:51 +02:00
2021-03-30 09:25:51 +02:00
2021-04-06 11:13:20 +00:00
2021-03-30 09:25:51 +02:00
2021-03-30 09:25:51 +02:00
2021-03-31 17:15:51 +02:00
2021-03-31 13:57:18 +02:00
2021-03-30 09:25:51 +02:00
2021-02-19 08:02:58 +00:00
2021-04-09 08:56:07 +00:00
2021-04-01 14:56:36 +00:00
2021-04-01 14:56:36 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-02-19 08:02:58 +00:00
2021-03-31 13:57:18 +02:00
2021-04-01 14:56:36 +00:00
2021-02-09 09:45:15 +00:00
2021-03-31 13:57:18 +02:00
2021-04-09 12:12:54 +00:00
2021-01-15 12:20:54 +00:00
2021-04-01 12:09:20 +00:00
2021-03-30 09:27:05 +00:00
2021-03-31 13:57:18 +02:00
2021-02-04 16:05:39 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-04-02 12:26:15 +00:00
2021-03-31 13:57:18 +02:00
2021-04-01 14:56:36 +00:00
2021-03-25 17:41:40 +00:00
2021-03-17 15:09:46 +00:00
2021-01-28 11:45:53 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-04-02 11:51:38 +00:00
2021-04-01 14:56:36 +00:00
2021-03-31 13:57:18 +02:00
2021-03-26 13:51:39 +00:00
2021-03-09 20:19:06 +00:00
2021-01-12 10:38:54 +00:00
2021-04-08 10:24:12 +00:00
2021-03-08 14:35:04 +00:00
2021-04-08 08:27:49 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-04-02 11:51:38 +00:00
2021-04-02 11:51:38 +00:00
2021-02-17 17:55:31 +00:00
2021-03-11 12:15:03 +00:00
2021-04-02 11:51:38 +00:00
2021-03-29 16:55:45 +00:00
2021-03-31 13:57:18 +02:00
2021-03-16 16:55:20 +00:00
2021-04-02 13:40:50 +00:00
2021-03-30 07:45:02 +00:00
2021-03-17 18:22:20 +00:00
2021-02-22 16:20:55 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-15 08:43:53 +00:00
2021-01-30 16:24:39 +00:00
2021-03-23 17:06:37 +00:00
2021-03-31 13:57:18 +02:00
2021-04-08 08:27:49 +02:00
2021-04-09 18:24:21 +00:00
2021-03-31 13:57:18 +02:00
2021-04-01 16:01:06 +00:00
2021-03-31 13:57:18 +02:00
2021-04-10 19:17:46 +00:00
2021-04-07 20:39:10 +00:00
2021-03-31 13:23:21 +00:00
2021-03-17 18:16:35 +00:00
2021-03-24 10:17:00 +00:00
2021-04-02 13:40:50 +00:00
2021-02-24 17:03:26 +00:00
2020-11-16 16:47:28 +00:00
2021-04-02 13:44:17 +00:00
2021-04-02 13:44:17 +00:00
2021-01-25 11:01:13 +00:00
2021-04-02 13:40:50 +00:00
2021-04-02 13:40:50 +00:00
2021-04-02 16:07:59 +00:00
2021-04-02 13:44:07 +00:00
2021-03-31 13:57:18 +02:00
2021-04-02 13:44:07 +00:00
2021-04-08 14:38:25 +00:00
2021-03-31 13:57:18 +02:00
2021-04-02 09:43:39 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-04-07 20:39:10 +00:00
2021-04-01 16:01:06 +00:00
2021-03-31 13:57:18 +02:00
2021-03-30 09:25:51 +02:00
2021-04-01 16:01:06 +00:00
2021-04-07 20:39:10 +00:00
2021-03-16 09:35:54 +00:00
2021-04-01 15:02:18 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-30 09:25:51 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-04-07 12:48:41 +00:00
2021-03-31 13:57:18 +02:00
2021-04-02 11:51:38 +00:00
2021-03-02 09:06:05 +00:00
2021-04-01 15:02:18 +00:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-03-31 13:57:18 +02:00
2021-01-12 10:38:54 +00:00
2021-03-31 13:57:18 +02:00