@readme/markdown 6.48.0 → 6.48.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/dist/main.js +6 -0
- package/dist/main.node.js +6 -0
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -29318,6 +29318,12 @@ function toString(node) {
|
|
|
29318
29318
|
}
|
|
29319
29319
|
|
|
29320
29320
|
function one(node) {
|
|
29321
|
+
if (node.tagName === 'img') {
|
|
29322
|
+
var _node$properties;
|
|
29323
|
+
|
|
29324
|
+
return ((_node$properties = node.properties) === null || _node$properties === void 0 ? void 0 : _node$properties.title) || '';
|
|
29325
|
+
}
|
|
29326
|
+
|
|
29321
29327
|
if (node.type === 'text') {
|
|
29322
29328
|
return node.value;
|
|
29323
29329
|
} // eslint-disable-next-line no-use-before-define
|
package/dist/main.node.js
CHANGED
|
@@ -12140,6 +12140,12 @@ function toString(node) {
|
|
|
12140
12140
|
}
|
|
12141
12141
|
|
|
12142
12142
|
function one(node) {
|
|
12143
|
+
if (node.tagName === 'img') {
|
|
12144
|
+
var _node$properties;
|
|
12145
|
+
|
|
12146
|
+
return ((_node$properties = node.properties) === null || _node$properties === void 0 ? void 0 : _node$properties.title) || '';
|
|
12147
|
+
}
|
|
12148
|
+
|
|
12143
12149
|
if (node.type === 'text') {
|
|
12144
12150
|
return node.value;
|
|
12145
12151
|
} // eslint-disable-next-line no-use-before-define
|
package/package.json
CHANGED