Skip to content

Commit

Permalink
feat: add a bunch of console.logs to isolate issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan-LukeKlopper committed Jun 6, 2024
1 parent 6876331 commit f0b119d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/ProposalDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ function ProposalDetails(props) {
}
};

const basicHTMLfromMarkdown = micromark(fixDescription)
const fancyHTMLfromMarkdown = micromark(fixDescription, { extensions: [gfm()], htmlExtensions: [gfmHtml()] })
const basicHTMLnoTransform = parse(basicHTMLfromMarkdown)
const fancyHTMLnoTransform = parse(fancyHTMLfromMarkdown)

console.log("basicHTMLfromMarkdown", basicHTMLfromMarkdown);
console.log("fancyHTMLfromMarkdown", fancyHTMLfromMarkdown);
console.log("basicHTMLafterTransform", basicHTMLnoTransform);
console.log("basicHTMLafterTransform", fancyHTMLnoTransform);
const parsedDescription = "hi"

console.log("parsedDescription :", parse(
Expand Down

0 comments on commit f0b119d

Please sign in to comment.