@readme/markdown 9.4.0 → 9.4.1

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.
@@ -52,8 +52,7 @@ const Embed = ({
52
52
  }
53
53
 
54
54
  if (iframe) {
55
- // eslint-disable-next-line jsx-a11y/iframe-has-title
56
- return <iframe {...attrs} src={url} style={{ border: 'none', display: 'flex', margin: 'auto' }} />;
55
+ return <iframe {...attrs} src={url} style={{ border: 'none', display: 'flex', margin: 'auto' }} title={title} />;
57
56
  }
58
57
 
59
58
  if (!providerUrl && url)
package/dist/main.js CHANGED
@@ -12138,8 +12138,7 @@ const Embed = ({ lazy = true, url, html, providerName, providerUrl, title, ifram
12138
12138
  }
12139
12139
  }
12140
12140
  if (iframe) {
12141
- // eslint-disable-next-line jsx-a11y/iframe-has-title
12142
- return external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("iframe", { ...attrs, src: url, style: { border: 'none', display: 'flex', margin: 'auto' } });
12141
+ return external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("iframe", { ...attrs, src: url, style: { border: 'none', display: 'flex', margin: 'auto' }, title: title });
12143
12142
  }
12144
12143
  if (!providerUrl && url)
12145
12144
  providerUrl = new URL(url).hostname
package/dist/main.node.js CHANGED
@@ -16507,8 +16507,7 @@ const Embed = ({ lazy = true, url, html, providerName, providerUrl, title, ifram
16507
16507
  }
16508
16508
  }
16509
16509
  if (iframe) {
16510
- // eslint-disable-next-line jsx-a11y/iframe-has-title
16511
- return external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("iframe", { ...attrs, src: url, style: { border: 'none', display: 'flex', margin: 'auto' } });
16510
+ return external_amd_react_commonjs_react_commonjs2_react_root_React_umd_react_default().createElement("iframe", { ...attrs, src: url, style: { border: 'none', display: 'flex', margin: 'auto' }, title: title });
16512
16511
  }
16513
16512
  if (!providerUrl && url)
16514
16513
  providerUrl = new URL(url).hostname