Skip to content
Snippets Groups Projects
Commit ff99e454 authored by David Monjoie's avatar David Monjoie
Browse files

[FIX] web_editor: fix url regex on Safari iOS

Commit [1] introduced a stronger regex to detect urls. Unfortunately,
it did so using a negative lookbehind, which is is only supported on
very recent version of Safari iOS.

This commit is an attempt at reproducing the same behavior, albeit
with a more complicated regex, unfortunately.

[1]: https://github.com/odoo/odoo/commit/a42a19e484d63cebeaed10b75ac20e507ff85d56



closes odoo/odoo#134821

Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent b96e7b84
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment