@worktile/theia 20.2.9 → 20.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15349,7 +15349,13 @@ const withLink = (editor) => {
15349
15349
  const clipboardData = await getClipboardData(data);
15350
15350
  const text = clipboardData?.text;
15351
15351
  if (!clipboardData?.elements && text && isUrl(text)) {
15352
- const urls = Array.from(getUrls(text, { stripWWW: false, sortQueryParameters: false, requireSchemeOrWww: true }));
15352
+ const urls = Array.from(getUrls(text, {
15353
+ stripWWW: false,
15354
+ sortQueryParameters: false,
15355
+ requireSchemeOrWww: true,
15356
+ removeTrailingSlash: false,
15357
+ removeSingleSlash: false
15358
+ }));
15353
15359
  if (urls.length) {
15354
15360
  let str = cloneDeep(text);
15355
15361
  urls.forEach((url, index) => {