mol_plot_all 1.2.229 → 1.2.232

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/node.js CHANGED
@@ -2367,7 +2367,8 @@ var $;
2367
2367
  if ((error_shower.get(error) ?? this) !== this)
2368
2368
  return node;
2369
2369
  try {
2370
- node.innerText = '\xA0\xA0' + (error.message || error) + '\xA0\xA0';
2370
+ const message = error.message || error;
2371
+ node.innerText = message.replace(/^|$/mg, '\xA0\xA0');
2371
2372
  }
2372
2373
  catch { }
2373
2374
  error_shower.set(error, this);