I hope this message finds you well. I recently noticed a change in the file
gpt-rag-frontend/frontend/src/components/AnalysisPanel/AnalysisPanel.tsx
const sanitizedHTML = DOMPurify.sanitize(thoughtsContent);
This change appears to have occurred with the merge of pull request #57. I am curious to know if there is a specific reason for not using the following code:
const sanitizedHTML = DOMPurify.sanitize(marked.parse(thoughtsContent, { async: false }));
Without the use of marked.parse, the appearance seems slightly different to me. I also wonder if there might be concerns about increased content size when using marked.parse, but this is just a guess on my part. Could you please clarify if there was an intentional reason for opting not to use marked.parse?
Thank you very much for your time and assistance!
I hope this message finds you well. I recently noticed a change in the file
gpt-rag-frontend/frontend/src/components/AnalysisPanel/AnalysisPanel.tsxThis change appears to have occurred with the merge of pull request #57. I am curious to know if there is a specific reason for not using the following code:
Without the use of
marked.parse, the appearance seems slightly different to me. I also wonder if there might be concerns about increased content size when usingmarked.parse, but this is just a guess on my part. Could you please clarify if there was an intentional reason for opting not to usemarked.parse?Thank you very much for your time and assistance!