This commit is contained in:
2025-08-21 08:28:52 -06:00
parent 54e4d7b4a1
commit e07a12f622
10 changed files with 48 additions and 23 deletions

View File

@@ -105,7 +105,10 @@ export const getStatus = ({
try {
const htmlIsSame = htmlIsCloseEnough(
markdownToHTMLSafe(assignment.description, settings),
markdownToHTMLSafe({
markdownString: assignment.description,
settings,
}),
canvasAssignment.description
);
if (!htmlIsSame)

View File

@@ -60,12 +60,6 @@ export default function AssignmentPreview({
<br />
<section>
<MarkdownDisplay markdown={assignment.description} />
{/* <div
className="markdownPreview"
dangerouslySetInnerHTML={{
__html: htmlPreview,
}}
></div> */}
</section>
<hr />
<section>