diff --git a/src/bundle/Resources/public/js/scripts/fieldType/base/base-rich-text.js b/src/bundle/Resources/public/js/scripts/fieldType/base/base-rich-text.js index 8887f55cc8..1784384262 100644 --- a/src/bundle/Resources/public/js/scripts/fieldType/base/base-rich-text.js +++ b/src/bundle/Resources/public/js/scripts/fieldType/base/base-rich-text.js @@ -401,7 +401,7 @@ links.forEach((link) => { const href = link.getAttribute('href'); - const schemaPattern = /^[a-z0-9]+:\/\//i; + const schemaPattern = /^[a-z0-9]+:\/?\/?/i; const protocolHref = protocolPrefix.concat(href); if (!href) {