@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.
- package/components/Embed/index.tsx +1 -2
- package/dist/main.js +1 -2
- package/dist/main.node.js +1 -2
- package/dist/main.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -52,8 +52,7 @@ const Embed = ({
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
if (iframe) {
|
|
55
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|