@particle-academy/react-fancy 4.8.0 → 4.8.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/index.js CHANGED
@@ -11441,12 +11441,12 @@ function htmlToMarkdown(html) {
11441
11441
  md = md.replace(/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi, (match, tagName) => {
11442
11442
  return STANDARD_HTML_TAGS.has(tagName.toLowerCase()) ? "" : match;
11443
11443
  });
11444
- md = md.replace(/&amp;/g, "&");
11445
11444
  md = md.replace(/&lt;/g, "<");
11446
11445
  md = md.replace(/&gt;/g, ">");
11447
11446
  md = md.replace(/&quot;/g, '"');
11448
11447
  md = md.replace(/&#39;/g, "'");
11449
11448
  md = md.replace(/&nbsp;/g, " ");
11449
+ md = md.replace(/&amp;/g, "&");
11450
11450
  md = md.replace(/\n{3,}/g, "\n\n");
11451
11451
  md = md.trim();
11452
11452
  return md;