Skip to content

Commit

Permalink
fix: rehype-raw positional data
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyjosephprice committed Jan 23, 2024
1 parent cbff4bd commit 49a1c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export function hast(text, opts = {}) {

const rdmd = htmlProcessor(opts).use(tableFlattening);
const node = rdmd.parse(text);
return rdmd.runSync(node);
return rdmd.runSync(node, text);
}

/**
Expand Down

0 comments on commit 49a1c5a

Please sign in to comment.