rme 0.0.59 → 0.0.60

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.mjs CHANGED
@@ -5801,7 +5801,7 @@ var fromMarkdownOptions = {
5801
5801
  };
5802
5802
  function parseInlineMarkdown(text) {
5803
5803
  try {
5804
- const root = fromMarkdown(text, fromMarkdownOptions);
5804
+ const root = fromMarkdown(text, "utf-8", fromMarkdownOptions);
5805
5805
  if (root.children.length === 0) {
5806
5806
  return [];
5807
5807
  }
@@ -5955,6 +5955,7 @@ function hasHtmlToken(mdastToken) {
5955
5955
  }
5956
5956
  function fromInlineMarkdown(text) {
5957
5957
  const phrasingContents = parseInlineMarkdown(text);
5958
+ console.log("phrasingContents", phrasingContents);
5958
5959
  if (hasHtmlToken(phrasingContents)) {
5959
5960
  const nodes = flatHTMLInlineToken(phrasingContents);
5960
5961
  return nodes;