@data-visuals/create 7.4.1 → 7.4.2
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/package.json
CHANGED
|
@@ -182,13 +182,14 @@ const parseGraphic = async (
|
|
|
182
182
|
const note = await getText({ key: 'note', page });
|
|
183
183
|
let source = await getText({ key: 'source', page });
|
|
184
184
|
|
|
185
|
-
//
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
185
|
+
// commenting this out as a hot fix in December 2022 for issue #158
|
|
186
|
+
// // create array from source
|
|
187
|
+
// if (source.length > 0) {
|
|
188
|
+
// // separate by commas or and
|
|
189
|
+
// source = source.split(/, *| and */g);
|
|
190
|
+
// } else {
|
|
191
|
+
// source = [];
|
|
192
|
+
// }
|
|
192
193
|
|
|
193
194
|
const links = await page.$$eval('a', links =>
|
|
194
195
|
links.map(link => {
|